From 653de727b1821b6568df9545de632d37c90b90ef Mon Sep 17 00:00:00 2001 From: ankry Date: Sat, 7 Dec 2002 14:32:49 +0000 Subject: [PATCH] - fix improper usage of %%{_sysconfdir} Changed files: apache1-mod_watch.spec -> 1.8 --- apache1-mod_watch.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache1-mod_watch.spec b/apache1-mod_watch.spec index af18f62..c0836c8 100644 --- a/apache1-mod_watch.spec +++ b/apache1-mod_watch.spec @@ -59,7 +59,7 @@ if [ -f %{_sysconfdir}/httpd/httpd.conf ] && \ echo Include %{_sysconfdir}/httpd/mod_watch.conf >> %{_sysconfdir}/httpd/httpd.conf fi if [ -f /var/lock/subsys/httpd ]; then - %{_sysconfdir}/rc.d/init.d/httpd restart 1>&2 + /etc/rc.d/init.d/httpd restart 1>&2 else echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon." fi @@ -71,7 +71,7 @@ if [ "$1" = "0" ]; then %{_sysconfdir}/httpd/httpd.conf.tmp mv -f %{_sysconfdir}/httpd/httpd.conf.tmp /etc/httpd/httpd.conf if [ -f /var/lock/subsys/httpd ]; then - %{_sysconfdir}/rc.d/init.d/httpd restart 1>&2 + /etc/rc.d/init.d/httpd restart 1>&2 fi fi -- 2.44.0