]> git.pld-linux.org Git - packages/apache.git/commitdiff
- don't process commented out entries
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 11 Apr 2013 10:14:02 +0000 (12:14 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 11 Apr 2013 10:14:02 +0000 (12:14 +0200)
apache.spec

index 9451918877ad27ea22c17194c77d3e298da87cbd..ee308526ee51578a0d7ae2d0145d4e4951b1cbb1 100644 (file)
@@ -2927,7 +2927,7 @@ if [ ! -L /etc/httpd/httpd.conf ]; then
        ln -s conf.d /etc/httpd/httpd.conf
 fi
 if [ -f /etc/sysconfig/httpd ]; then
-        MPM=$(grep HTTPD_MPM /etc/sysconfig/httpd |sed 's,HTTPD_MPM=,,;s,",,g')
+        MPM=$(grep ^HTTPD_MPM /etc/sysconfig/httpd |sed 's,HTTPD_MPM=,,;s,",,g')
         if [ -n $MPM ]; 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
This page took 0.093849 seconds and 4 git commands to generate.