]> git.pld-linux.org Git - packages/apache1.git/commitdiff
- killed bogus parameter check in mod_autoindex's %%post
authorankry <ankry@pld-linux.org>
Fri, 29 Oct 2004 18:23:47 +0000 (18:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1.spec -> 1.61

apache1.spec

index 97033336c59ff0a526c4087dc83c34af2ff47b64..fc34c551a39ef4ea5868c464cc840357261b6132 100644 (file)
@@ -1047,14 +1047,12 @@ fi
 %{apxs} -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
 
 %post mod_autoindex
-if [ "$1" = "0" ]; then
-       if [ -f /etc/apache/apache.conf ] && ! grep -q "^Include.*mod_autoindex.conf" /etc/apache/apache.conf; then
-               echo "Include /etc/apache/mod_autoindex.conf" >> /etc/apache/apache.conf
-       fi
-       %{apxs} -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+if [ -f /etc/apache/apache.conf ] && ! grep -q "^Include.*mod_autoindex.conf" /etc/apache/apache.conf; then
+       echo "Include /etc/apache/mod_autoindex.conf" >> /etc/apache/apache.conf
+fi
+%{apxs} -e -a -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
+if [ -f /var/lock/subsys/apache ]; then
+       /etc/rc.d/init.d/apache restart 1>&2
 fi
 
 %preun mod_autoindex
This page took 0.102189 seconds and 4 git commands to generate.