From 9a1f69e15bdfd574549fbdd53320a29d058113c8 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Fri, 4 Dec 2015 14:32:50 +0100 Subject: [PATCH] Avoid regenerating ld.so.cache since no change of binaries happened. --- ipa-server-configure-first | 1 + 1 file changed, 1 insertion(+) diff --git a/ipa-server-configure-first b/ipa-server-configure-first index 0ab45887..ba0fcfa3 100755 --- a/ipa-server-configure-first +++ b/ipa-server-configure-first @@ -66,6 +66,7 @@ function upgrade_server () { for i in 389-ds-base pki-server ; do rpm -q --scripts $i | perl -lne '/^\S+ scriptlet/ and $x = 0; print if $x; if (/^postinstall scriptlet \(using (\S+)\)/) { $x = 1; print "#!$1"; if ($1 eq "/bin/sh") { print "set -x" } }' > /tmp/$i.script if [ -s "/tmp/$i.script" ] ; then + sed -i '\|/sbin/ldconfig|d' /tmp/$i.script chmod a+x /tmp/$i.script /tmp/$i.script 2 fi