[flexpart] 15/26: Don't use == in sh script

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Aug 27 12:42:15 UTC 2015


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

mckinstry pushed a commit to tag debian/9.02-10
in repository flexpart.

commit bd1b594074c1990b1e3c13eb4eca60e528db6c34
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Dec 14 12:22:02 2013 +0000

    Don't use == in sh script
---
 debian/flexpart.prerm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/flexpart.prerm b/debian/flexpart.prerm
index eb6785b..5410b54 100644
--- a/debian/flexpart.prerm
+++ b/debian/flexpart.prerm
@@ -4,7 +4,7 @@ set -e
 
 #DEBHELPER#
 
-if [ "$1" == "remove" ]
+if [ "$1" != "upgrade" ]
 then
         update-alternatives --remove flexpart /usr/bin/flexpart
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flexpart.git



More information about the debian-science-commits mailing list