[Pkg-sympa-devel] Bug#737621: sympa uses /bis/sh which causes errors on upgrading

Svenja Otten otten at global-village.de
Tue Feb 4 11:48:21 UTC 2014


Package: sympa
Version: 6.1.11~dfsg-5

Hi,

I upgraded one of our debian machines from squeeze to wheezy.
While upgrading there encountered some errors in configuring sympa. This was
due to using /bin/sh in sympa's postinstallation script.
I solved the problem with changing /bin/sh to /bin/bash as you can see here:

--- sympa.postinst	2012-11-30 20:03:48.000000000 +0100
+++ sympa.postinst	2014-01-31 08:18:51.041717239 +0100
@@ -433,7 +433,7 @@
 	fi
 fi
 
-su -l sympa -s /bin/sh -c "/usr/lib/sympa/bin/sympa.pl --upgrade"
+su -l sympa -s /bin/bash -c "/usr/lib/sympa/bin/sympa.pl --upgrade"
 
 ## End up with debconf
 db_stop

regards,
Svenja Otten.

-- 
Global Village GmbH  Tel +49 2855 9651 0     GF Marcus Faure
Mehrumer Str. 16     Fax +49 2855 9651 110   Amtsgericht Duisburg HRB9987
D46562 Voerde        eMail info at globvill.de  Ust-Id DE180295363



More information about the Pkg-sympa-devel mailing list