Comment 2 for bug 726679

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

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.