[Pkg-libvirt-commits] [libvirt] 03/06: Also purge libvirt-bin.service on new installations

Guido Guenther agx at moszumanska.debian.org
Thu Aug 7 12:10:17 UTC 2014


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

agx pushed a commit to branch master
in repository libvirt.

commit b3a2735ffcf499ea54862b267a9fb9c1c0d424e4
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Aug 7 09:51:29 2014 +0200

    Also purge libvirt-bin.service on new installations
    
    The old service file was in libvirt-bin so we need to remove it when
    libvirt-daemon-service is first installed (as we did before when
    the whole code was in the postinst).
    
    Thanks: Laurent Bigonville for the analysis
    Closes: #757293
---
 debian/libvirt-daemon-system.preinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/libvirt-daemon-system.preinst b/debian/libvirt-daemon-system.preinst
index c4f4cf2..90e81a8 100644
--- a/debian/libvirt-daemon-system.preinst
+++ b/debian/libvirt-daemon-system.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" le-nl "1.2.6-1~"; then
+	if dpkg --compare-versions "$2" le "1.2.6-1~"; then
 	    if [ -d /run/systemd/system ]; then
 	        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