]> git.donarmstrong.com Git - roundcube.git/commitdiff
Do not prepend path to lighty util in postinst and postrm, as per
authorVincent Bernat <bernat@debian.org>
Sun, 17 Aug 2008 10:31:43 +0000 (10:31 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 17:41:32 +0000 (19:41 +0200)
Policy Manual section 6.1

debian/changelog
debian/roundcube-core.postinst
debian/roundcube-core.postrm

index def2cfc77fa1e7430cc1989feefee973401ba747..77fc14fe9c73d7d95a713b42fa17268d9a1d2631 100644 (file)
@@ -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
index fe3094f50915dac8b0720cc1549a579f5c264b1d..80a085aaaa2c5065473e49250dd3e95636ce4558 100644 (file)
@@ -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
 }
index ae7bbd949ef59f62d46a6d42bf7317210298da42..1e0467b93225dea7fa3a8e01facf61ff2a28a2c4 100644 (file)
@@ -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