[open-vm-tools/el5] Add missing ldconfig to SysV targets.

Simone Caronni slaanesh at fedoraproject.org
Thu May 2 18:39:33 UTC 2013


commit d4d58fd8d92a4adcd3be0b759dc1835b7ba71dc7
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Thu May 2 20:39:08 2013 +0200

    Add missing ldconfig to SysV targets.

 open-vm-tools.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/open-vm-tools.spec b/open-vm-tools.spec
index c2f99dc..b98170e 100644
--- a/open-vm-tools.spec
+++ b/open-vm-tools.spec
@@ -179,6 +179,7 @@ fi
 %if 0%{?rhel} == 6 || 0%{?rhel} == 5
 
 %post
+/sbin/ldconfig
 /sbin/chkconfig --add %{toolsdaemon}
 
 %preun
@@ -188,6 +189,7 @@ if [ $1 -eq 0 ]; then
 fi
 
 %postun
+/sbin/ldconfig
 if [ $1 -ge 1 ]; then
     /sbin/service %{toolsdaemon} condrestart >/dev/null 2>&1 || :
 fi


More information about the scm-commits mailing list