diff --git a/debian/changelog b/debian/changelog index 1617683..4c1c520 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 28 Mar 2012 19:35:49 +0200 + -- Jan Wagner Thu, 29 Mar 2012 11:56:23 +0200 ps-watcher (1.08-4) unstable; urgency=low diff --git a/debian/preinst b/debian/preinst index 0bb90a1..d2d6a81 100755 --- a/debian/preinst +++ b/debian/preinst @@ -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#