]> git.pld-linux.org Git - packages/php.git/commitdiff
drop old upgrade triggers from 5.0.4-9.11
authorElan Ruusamäe <glen@delfi.ee>
Wed, 1 Aug 2012 22:18:32 +0000 (01:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 1 Aug 2012 23:07:51 +0000 (02:07 +0300)
php.spec

index afc16ae9c347bd456a30db000a6930e1b7ca4afd..df2438d8c5e1b57c4ce52878f8bc08b3964fff13 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2591,24 +2591,6 @@ fi
 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
 
-%if %{with apache1}
-%triggerpostun -n apache1-mod_php%{php_suffix} -- php < 4:5.0.4-9.11
-sed -i -e '
-       /^AddType application\/x-httpd-php \.php/s,^,#,
-       /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
-' /etc/apache/apache.conf
-%service -q apache restart
-%endif
-
-%if %{with apache2}
-%triggerpostun -n apache-mod_php%{php_suffix} -- php < 4:5.0.4-7.1
-# for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
-if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
-       cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
-       mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
-fi
-%endif
-
 # common macros called at extension post/postun scriptlet
 %define        extension_scripts() \
 %post %1 \
This page took 0.058148 seconds and 4 git commands to generate.