From: tolimar Date: Wed, 7 Sep 2011 14:51:26 +0000 (+0000) Subject: Don't use a path to a binary in the maintainer script (thanks lintian) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba0680da8c8c164b295b49be7b94d2d67ac0cb17;p=pkg-nagvis.git Don't use a path to a binary in the maintainer script (thanks lintian) git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@1958 98d490a6-b407-0410-aaaa-fdee166ba3f5 --- diff --git a/debian/postrm b/debian/postrm index 40263c6..1615814 100644 --- a/debian/postrm +++ b/debian/postrm @@ -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