Code

Don't use a path to a binary in the maintainer script (thanks lintian)
authortolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5>
Wed, 7 Sep 2011 14:51:26 +0000 (14:51 +0000)
committertolimar <tolimar@98d490a6-b407-0410-aaaa-fdee166ba3f5>
Wed, 7 Sep 2011 14:51:26 +0000 (14:51 +0000)
git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@1958 98d490a6-b407-0410-aaaa-fdee166ba3f5

debian/postrm

index 40263c6917cf693bee78d7f4a5752a1bc2dac43e..1615814198634f270e44fb885ee0c4ed8055c427 100644 (file)
@@ -42,7 +42,7 @@ if [ "$1" = "purge" ]; then
        for file in apache.conf nagvis.ini.php; do
                rm -f /etc/nagvis/$file
                if [ -x /usr/bin/ucf ] ; then
-                       /usr/bin/ucf --debconf-ok --purge /etc/nagvis/$file
+                       ucf --debconf-ok --purge /etc/nagvis/$file
                fi
        done