[Pkg-libvirt-commits] [libvirt] 01/02: Fix wrong relation in preinst

Guido Guenther agx at moszumanska.debian.org
Thu Aug 14 19:40:57 UTC 2014


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

agx pushed a commit to annotated tag debian/1.2.7-8
in repository libvirt.

commit d98aa3b71ed9bd47b399ec31c2ea44b516500985
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Aug 14 18:00:32 2014 +0200

    Fix wrong relation in preinst
    
    Thanks: Laurent Bigonville
    Closes: #758136
---
 debian/libvirt-bin.preinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/libvirt-bin.preinst b/debian/libvirt-bin.preinst
index d8dff6f..cdcdbd7 100644
--- a/debian/libvirt-bin.preinst
+++ b/debian/libvirt-bin.preinst
@@ -19,7 +19,7 @@ case "$1" in
 	# When renaming the .service file, systemd might become confused, we
 	# need to ensure that the libvirtd daemon is fully stopped before
 	# trying to restart it again. (Bug: #730604)
-	if dpkg --compare-versions "$2" lt-ne "1.2.6-1~"; then
+	if dpkg --compare-versions "$2" lt-nl "1.2.6-1~"; then
 	    if [ -d /run/systemd/system ]; then
 	        [ ! -f /lib/systemd/system/libvirt-bin.service ] || invoke-rc.d libvirt-bin stop
 	    fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list