Fix comparation
This commit is contained in:
parent
600c2c7d4e
commit
e1c0a488fe
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,8 +1,8 @@
|
|||
ps-watcher (1.08-5) UNRELEASED; urgency=low
|
||||
ps-watcher (1.08-5) unstable; urgency=low
|
||||
|
||||
* NOT RELEASED YET
|
||||
* Fix comparation in preinst script, realy (Closes: #666097)
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Wed, 28 Mar 2012 19:35:49 +0200
|
||||
-- Jan Wagner <waja@cyconet.org> Thu, 29 Mar 2012 11:56:23 +0200
|
||||
|
||||
ps-watcher (1.08-4) unstable; urgency=low
|
||||
|
||||
|
|
2
debian/preinst
vendored
2
debian/preinst
vendored
|
@ -2,7 +2,7 @@
|
|||
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
|
||||
if [ "$1" = "upgrade" ] && [ "$2" ] && dpkg --compare-versions "$2" le "1.06-6"; then
|
||||
pidof ps-watcher > /var/run/ps-watcher.pid
|
||||
fi
|
||||
#DEBHELPER#
|
||||
|
|
Loading…
Reference in a new issue