]> 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 22:18:32 +0000 (01:18 +0300)
php.spec

index aa5f6944a2345198defc2d3f4b7cdb57b6af6e04..6c39e7fe687ba87a2d00bdb15e08c70e8e8f69ea 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2557,24 +2557,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.299925 seconds and 4 git commands to generate.