]> git.pld-linux.org Git - packages/apache-mod_watch.git/commitdiff
- fix improper usage of %%{_sysconfdir}
authorankry <ankry@pld-linux.org>
Sat, 7 Dec 2002 14:32:49 +0000 (14:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_watch.spec -> 1.8

apache-mod_watch.spec

index af18f621fc17da33cffa7e2cd12db7360226d8c2..c0836c8bc5b0fedc89239202c395e0e802461546 100644 (file)
@@ -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
 
This page took 0.100111 seconds and 4 git commands to generate.