]> git.pld-linux.org Git - packages/apache.git/commitdiff
- rel 4; make sure -n isn't true when MPM is empty auto/th/apache-2.4.4-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 19 May 2013 11:31:52 +0000 (13:31 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 19 May 2013 11:31:52 +0000 (13:31 +0200)
apache.spec

index e0e941144fe8f40b4a7175df24c93ae3582e729d..8ce96bed10680f9b78cacf97585b8f5fc59bda12 100644 (file)
@@ -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
This page took 0.046449 seconds and 4 git commands to generate.