[ps-watcher] 64/88: remove path from pidof

Jan Wagner waja at alioth.debian.org
Fri Nov 8 23:06:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository ps-watcher.

commit 5992785d5140b8de2c0bd0ff432eea0d5a0468fe
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Jul 24 17:29:11 2009 +0000

    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 <waja at cyconet.org>  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#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ps-watcher.git



More information about the Pkg-perl-cvs-commits mailing list