[packages/apache] - don't process commented out entries
arekm
arekm at pld-linux.org
Thu Apr 11 12:14:05 CEST 2013
commit 486fe4f4f5ad9f8e65ae11e316c6a47babc4e587
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Apr 11 12:14:02 2013 +0200
- don't process commented out entries
apache.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/apache.spec b/apache.spec
index 9451918..ee30852 100644
--- a/apache.spec
+++ b/apache.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/486fe4f4f5ad9f8e65ae11e316c6a47babc4e587
More information about the pld-cvs-commit
mailing list