[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] spec: Fix script warning when uninstalling libvirt-client



On 2012年12月18日 07:38, Cole Robinson wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=888071
---
  libvirt.spec.in | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 7457a48..a5dce14 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1605,8 +1605,9 @@ fi
  /sbin/chkconfig --add libvirt-guests
  %endif

-%postun client -p /sbin/ldconfig
+%postun client

+/sbin/ldconfig
  %if %{with_systemd}
  %if %{with_systemd_macros}
  %systemd_postun_with_restart libvirt-guests.service

ACK.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]