[ps-watcher] 80/88: Fix comparation

Jan Wagner waja at alioth.debian.org
Fri Nov 8 23:06:50 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 e1c0a488fe550e5cc9b5b2cb1c54dbe45aa95357
Author: Jan Wagner <waja at cyconet.org>
Date:   Thu Mar 29 17:31:24 2012 +0000

    Fix comparation
---
 debian/changelog |    6 +++---
 debian/preinst   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

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 <waja at cyconet.org>  Wed, 28 Mar 2012 19:35:49 +0200
+ -- Jan Wagner <waja at cyconet.org>  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#

-- 
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