]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Fix script warning when uninstalling libvirt-client
authorCole Robinson <crobinso@redhat.com>
Mon, 17 Dec 2012 23:34:25 +0000 (18:34 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 18 Oct 2013 15:54:27 +0000 (09:54 -0600)
https://bugzilla.redhat.com/show_bug.cgi?id=888071
(cherry picked from commit d60c7f75c2375fd1a2cfc7e3c4c2e7b030b4b886)

libvirt.spec.in

index fd4209f317582bf24d4349997e96d32871c0188c..eca9fbcbafa5486b79ddaf364c40085a109095e6 100644 (file)
@@ -1052,8 +1052,9 @@ fi
 /sbin/chkconfig --add libvirt-guests
 %endif
 
-%postun client -p /sbin/ldconfig
+%postun client
 
+/sbin/ldconfig
 %if %{with_systemd}
 %triggerun client -- libvirt < 0.9.4
 %{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||: