]> git.pld-linux.org Git - packages/php.git/commitdiff
trigger: fix also /etc/php paths
authorElan Ruusamäe <glen@delfi.ee>
Mon, 19 May 2014 08:43:03 +0000 (11:43 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 21 May 2014 22:52:49 +0000 (01:52 +0300)
php.spec

index 79357ca47a4cc64ec584ed9b66db3b23e786da28..a0e04fd8e35318ccdaea3f73091a48ff1c775654 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2724,7 +2724,10 @@ for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
        test -f "$nf" || continue
        cp -vf $nf{,.rpmnew}
        mv -vf $f $nf
-       %{__sed} -i -e 's#%{_libdir}/php#%{_libdir}/%{name}#' $nf
+       %{__sed} -i -e '
+               s#%{_libdir}/php#%{_libdir}/%{name}#
+               s#/etc/php#%{_sysconfdir}#
+       ' $nf
 done
 
 # common macros called at extension post/postun scriptlet
This page took 0.387396 seconds and 4 git commands to generate.