]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- we know we need to modify ld.so.conf from trigger, so no conditionals
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 20 Oct 2005 08:13:13 +0000 (08:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc.spec -> 1.583.2.33

glibc.spec

index 506fc0057b1c56350f04fe0b6b652cda5911bb92..ea53ffe7ac3940db8a14ae13b9242991b40058ad 100644 (file)
@@ -1254,7 +1254,8 @@ rm -rf $RPM_BUILD_ROOT
 %else
 %triggerpostun -p /sbin/postshell -- %{name} < 6:2.3.5-7.6
 %endif
--/bin/sh -c "/bin/grep -qs 'include ld.so.conf.d/*.conf' /etc/ld.so.conf || echo 'include ld.so.conf.d/*.conf' >> /etc/ld.so.conf"
+-cp -f /etc/ld.so.conf /etc/ld.so.conf.rpmsave
+-sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
 
 %post  memusage -p /sbin/ldconfig
 %postun memusage -p /sbin/ldconfig
This page took 0.037912 seconds and 4 git commands to generate.