From: Vincent Bernat Date: Sun, 17 Aug 2008 10:31:43 +0000 (+0000) Subject: Do not prepend path to lighty util in postinst and postrm, as per X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d742e4bd6334360849c6ef11ca90692dd50b0df1;p=roundcube.git Do not prepend path to lighty util in postinst and postrm, as per Policy Manual section 6.1 --- diff --git a/debian/changelog b/debian/changelog index def2cfc..77fc14f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ roundcube (0.2~alpha-2) experimental; urgency=low [ Vincent Bernat ] * Fix lintian warnings introduced by previous upload * Fix lighttpd.conf to make it work with latest versions (Closes: #494044) + * Do not prepend path to lighty util in postinst and postrm, as per + Policy Manual section 6.1 * Ship a bug/control file to have all bugs submitted against roundcube metapackage * Fix debian/roundcube-core.cron.daily to use diff --git a/debian/roundcube-core.postinst b/debian/roundcube-core.postinst index fe3094f..80a085a 100644 --- a/debian/roundcube-core.postinst +++ b/debian/roundcube-core.postinst @@ -23,7 +23,7 @@ lighttpd_install() { echo "Lighttpd not installed, skipping" else ln -s /etc/roundcube/lighttpd.conf /etc/lighttpd/conf-available/50-roundcube.conf - /usr/sbin/lighty-enable-mod roundcube + lighty-enable-mod roundcube fi fi } diff --git a/debian/roundcube-core.postrm b/debian/roundcube-core.postrm index ae7bbd9..1e0467b 100644 --- a/debian/roundcube-core.postrm +++ b/debian/roundcube-core.postrm @@ -19,7 +19,7 @@ lighttpd_remove() { if [ ! -x /usr/sbin/lighty-disable-mod ] ; then echo "Lighttpd not installed, skipping" else - /usr/sbin/lighty-disable-mod roundcube + lighty-disable-mod roundcube fi # See bug #448682 if [ -h /etc/lighttpd/conf-enabled/50-roundcube.conf ] ; then