Bug 43187 - syntax error in ucs-school-umc-csv-import.postinst
syntax error in ucs-school-umc-csv-import.postinst
Status: CLOSED DUPLICATE of bug 41418
Product: UCS@school
Classification: Unclassified
Component: UMC - CSV Import
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-15 13:55 CET by Sönke Schwardt-Krummrich
Modified: 2023-03-25 06:46 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few 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.011
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 2016-12-15 13:55:03 CET
/var/lib/dpkg/info/ucs-school-umc-csv-import.postinst: 32: /var/lib/dpkg/info/ucs-school-umc-csv-import.postinst: configure: not found

---[ucs-school-umc-csv-import.postinst]---
if "$1" == "configure" && dpkg --compare-versions "$2" lt 2.0.7-1; then
	ucr set ucsschool/csvimport/username/generation/firstname_lastname=true
fi
---


Please note:
$ dpkg --compare-versions "" lt 2.0.7-1 && echo "yes"
yes
$

Please check if the UCR variable has ever been set in any UCS@school version. Fixing this line will set the UCR variable for the first time. Maybe we should change the default or remove the 3 lines at all.
Comment 1 Florian Best univentionstaff 2016-12-20 10:41:08 CET

*** This bug has been marked as a duplicate of bug 41418 ***