Bug 43699 - UCS@school 4.2: bashism in ucs-school-umc-csv-import postinst
UCS@school 4.2: bashism in ucs-school-umc-csv-import postinst
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - CSV Import
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v1
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
:
Depends on: 41418
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-02 15:47 CET by Sönke Schwardt-Krummrich
Modified: 2017-04-11 17:45 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2017-03-02 15:47:28 CET
This change has to be merged in UCS@school 4.2


+++ This bug was initially created as a clone of Bug #41418 +++

ucs-school-umc-csv-import (3.0.2-1.45.201605311905) wird eingerichtet ...
/var/lib/dpkg/info/ucs-school-umc-csv-import.postinst: 32:
/var/lib/dpkg/info/ucs-school-umc-csv-import.postinst: configure: not found

patch:
diff --git a/ucs-school-umc-csv-import/debian/ucs-school-umc-csv-import.postinst b/ucs-school-umc-csv-import/debian/ucs-school-umc-csv-import.postinst
index 825de26..1dfbef4 100644
--- a/ucs-school-umc-csv-import/debian/ucs-school-umc-csv-import.postinst
+++ b/ucs-school-umc-csv-import/debian/ucs-school-umc-csv-import.postinst
@@ -32 +32 @@
-if "$1" == "configure" && dpkg --compare-versions "$2" lt 2.0.7-1; then
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 2.0.7-1; then
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2017-03-02 16:04:39 CET
ucs-school-umc-csv-import (4.0.3-2):
r77270 | Bug #43699/41418: remove broken code block in postinst

Change has been merged.
Comment 2 Daniel Tröder univentionstaff 2017-03-09 14:15:18 CET
(In reply to Sönke Schwardt-Krummrich from comment #1)
> ucs-school-umc-csv-import (4.0.3-2):
> r77270 | Bug #43699/41418: remove broken code block in postinst
> 
> Change has been merged.
OK

r77510: remove empty file
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2017-04-11 17:45:47 CEST
UCS@school 4.2 v1 has been released.

http://docs.software-univention.de/release-notes-ucsschool-4.2v1-de.html

If this error occurs again, please clone this bug.