From 5992785d5140b8de2c0bd0ff432eea0d5a0468fe Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Fri, 24 Jul 2009 17:29:11 +0000 Subject: [PATCH] remove path from pidof --- debian/changelog | 1 + debian/preinst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b893c69..ec62cc0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ ps-watcher (1.08-1) unstable; urgency=low * moved initscritps to S99 and K01, thanks Tim Miller Dyck (Closes: #508189) * created NEWS.Debian * bump standards version to 3.8.2 (no changes needed) + * calling pidof in preinst without absolut path -- Jan Wagner Fri, 24 Jul 2009 19:12:00 +0200 diff --git a/debian/preinst b/debian/preinst index 36daa0b..0bb90a1 100755 --- a/debian/preinst +++ b/debian/preinst @@ -3,6 +3,6 @@ set -e # generate correct pid file, for versions where was non or incorrect if [ "$1" = "upgrade" ] && [ "$2" ] && dpkg --compare-versions "$2" <= "1.06-6"; then - /bin/pidof ps-watcher > /var/run/ps-watcher.pid + pidof ps-watcher > /var/run/ps-watcher.pid fi #DEBHELPER#