[packages/apache] - rel 4; make sure -n isn't true when MPM is empty
arekm
arekm at pld-linux.org
Sun May 19 13:31:55 CEST 2013
commit 75cb1b72ab6db8fb68164774c47b9392763d2e09
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun May 19 13:31:52 2013 +0200
- rel 4; make sure -n isn't true when MPM is empty
apache.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/apache.spec b/apache.spec
index e0e9411..8ce96be 100644
--- a/apache.spec
+++ b/apache.spec
@@ -35,7 +35,7 @@ Summary(ru.UTF-8): Самый популярный веб-сервер
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
Version: 2.4.4
-Release: 3
+Release: 4
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -2929,7 +2929,7 @@ if [ ! -L /etc/httpd/httpd.conf ]; then
fi
if [ -f /etc/sysconfig/httpd ]; then
MPM=$(grep ^HTTPD_MPM /etc/sysconfig/httpd |sed 's,HTTPD_MPM=,,;s,",,g')
- if [ -n $MPM ]; then
+ 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
mv /etc/httpd/conf.d/10_mpm.conf.rpmnew /etc/httpd/conf.d/10_mpm.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/75cb1b72ab6db8fb68164774c47b9392763d2e09
More information about the pld-cvs-commit
mailing list