edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #00730
[Bug 726679] Re: schooltool.postinst should use /bin/sh not /bin/bash
I used ";&" separator in the case statement so that "configure" step
continues to "triggered" step. This syntax does not work with /bin/sh:
Unpacking replacement schooltool ...
Setting up schooltool (1:1.6.0~a1-0ubuntu2) ...
/var/lib/dpkg/info/schooltool.postinst: 33: Syntax error: ";" unexpected
dpkg: error processing schooltool (--install):
subprocess installed post-installation script returned error exit status 2
That's why I used /bin/bash in this script.
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to schooltool in ubuntu.
https://bugs.launchpad.net/bugs/726679
Title:
schooltool.postinst should use /bin/sh not /bin/bash
References