]> git.pld-linux.org Git - packages/apache1-mod_suphp.git/commitdiff
- there was never config embedded in apache.conf - update trigger
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 28 Feb 2005 19:33:50 +0000 (19:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_suphp.spec -> 1.4

apache1-mod_suphp.spec

index 26025f24bad271e0c3b43f5a7582621f40350de3..43e096ae42333ff7abb0f19a9a322ee3ad24f39a 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Apache module: suPHP - execute PHP scripts with the permissions of thei
 Summary(pl):   Modu³ do apache: suPHP - uruchamianie skryptów PHP z uprawnieniami ich w³a¶cicieli
 Name:          apache1-mod_%{mod_name}
 Version:       0.5.2
 Summary(pl):   Modu³ do apache: suPHP - uruchamianie skryptów PHP z uprawnieniami ich w³a¶cicieli
 Name:          apache1-mod_%{mod_name}
 Version:       0.5.2
-Release:       1.11
+Release:       1.12
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://www.suphp.org/download/%{mod_name}-%{version}.tar.gz
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://www.suphp.org/download/%{mod_name}-%{version}.tar.gz
@@ -100,14 +100,10 @@ if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
        sed -i -e '
                /^Include.*mod_%{mod_name}\.conf/d
        ' /etc/apache/apache.conf
        sed -i -e '
                /^Include.*mod_%{mod_name}\.conf/d
        ' /etc/apache/apache.conf
-else
-       # they're still using old apache.conf
-       sed -i -e '
-               s,^Include.*mod_%{mod_name}\.conf,Include %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf,
-       ' /etc/apache/apache.conf
-fi
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
+
+       if [ -f /var/lock/subsys/apache ]; then
+               /etc/rc.d/init.d/apache restart 1>&2
+       fi
 fi
 
 %files
 fi
 
 %files
This page took 0.052631 seconds and 4 git commands to generate.