remove path from pidof
This commit is contained in:
parent
6754ae7828
commit
5992785d51
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -7,6 +7,7 @@ ps-watcher (1.08-1) unstable; urgency=low
|
||||||
* moved initscritps to S99 and K01, thanks Tim Miller Dyck (Closes: #508189)
|
* moved initscritps to S99 and K01, thanks Tim Miller Dyck (Closes: #508189)
|
||||||
* created NEWS.Debian
|
* created NEWS.Debian
|
||||||
* bump standards version to 3.8.2 (no changes needed)
|
* bump standards version to 3.8.2 (no changes needed)
|
||||||
|
* calling pidof in preinst without absolut path
|
||||||
|
|
||||||
-- Jan Wagner <waja@cyconet.org> Fri, 24 Jul 2009 19:12:00 +0200
|
-- Jan Wagner <waja@cyconet.org> Fri, 24 Jul 2009 19:12:00 +0200
|
||||||
|
|
||||||
|
|
2
debian/preinst
vendored
2
debian/preinst
vendored
|
@ -3,6 +3,6 @@ set -e
|
||||||
|
|
||||||
# generate correct pid file, for versions where was non or incorrect
|
# generate correct pid file, for versions where was non or incorrect
|
||||||
if [ "$1" = "upgrade" ] && [ "$2" ] && dpkg --compare-versions "$2" <= "1.06-6"; then
|
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
|
fi
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
Loading…
Reference in a new issue