From 2da502048f6babf3340061dd3a076a6d0771d13c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 28 Feb 2005 19:33:50 +0000 Subject: [PATCH] - there was never config embedded in apache.conf - update trigger Changed files: apache1-mod_suphp.spec -> 1.4 --- apache1-mod_suphp.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/apache1-mod_suphp.spec b/apache1-mod_suphp.spec index 26025f2..43e096a 100644 --- a/apache1-mod_suphp.spec +++ b/apache1-mod_suphp.spec @@ -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 -Release: 1.11 +Release: 1.12 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 -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 -- 2.43.0