[Pkg-sympa-commits] [sympa] 09/12: Fix depreacted syntax while using 'dpkg --compare-versions'

Emmanuel Bouthenot kolter at moszumanska.debian.org
Fri Jul 31 05:18:14 UTC 2015


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

kolter pushed a commit to branch master
in repository sympa.

commit cdb2791713603adfc96121d25ffc174efd0c0f4e
Author: Emmanuel Bouthenot <kolter at openics.org>
Date:   Thu Jul 30 23:45:38 2015 +0200

    Fix depreacted syntax while using 'dpkg --compare-versions'
---
 debian/sympa.preinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/sympa.preinst b/debian/sympa.preinst
index 2747361..7cc70fa 100644
--- a/debian/sympa.preinst
+++ b/debian/sympa.preinst
@@ -39,7 +39,7 @@ fi
 
 case "$1" in
   install|upgrade)
-    if dpkg --compare-versions "$2" "<" "6.1.22~dfsg-1"; then
+    if dpkg --compare-versions "$2" "lt" "6.1.22~dfsg-1"; then
         # delete sympa facility before managing it as a conffile (#774877)
         rm -f /etc/sympa/facility
     fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/sympa.git



More information about the Pkg-sympa-commits mailing list