Which shell is used if "/bin/sh" is called (as the update-script does) ?
jens@debian-inspiron:~$ ll /bin/sh
lrwxrwxrwx 1 root root 4 13. Mai 09:34 /bin/sh -> bash
jens@debian-inspiron:~$
Nevertheless if it does not work with the "==" I can commit a change that only uses the "=", that should work (hopefully) with all shells.
EDIT:Should be fixed in svn r5199.