]> TLD Linux GIT Repositories - packages/apache.git/commitdiff
- remove HTTPD_MPM from sysconfig
authorBartosz Świątek <shadzik@tld-linux.org>
Sat, 25 Feb 2012 20:18:58 +0000 (21:18 +0100)
committerBartosz Świątek <shadzik@tld-linux.org>
Sat, 25 Feb 2012 20:18:58 +0000 (21:18 +0100)
apache.spec

index 1084d26bc53963c9bc54b53063c89364ae745106..f035becc32ee811674f9652dcd48f979b290a2f8 100644 (file)
@@ -2373,6 +2373,7 @@ if [ -f /etc/sysconfig/httpd ]; then
                echo "LoadModule mpm_${MPM}_module                modules/mod_mpm_${MPM}.so" > /etc/httpd/conf.d/10_mpm.conf.rpmnew
                cat /etc/httpd/conf.d/10_mpm.conf >> /etc/httpd/conf.d/10_mpm.conf.rpmnew
                mv /etc/httpd/conf.d/10_mpm.conf.rpmnew /etc/httpd/conf.d/10_mpm.conf
+               sed -i -e 's,HTTPD_MPM.*,,g' /etc/sysconfig/httpd
        fi
 fi