]> git.pld-linux.org Git - packages/apache1-mod_watch.git/commitdiff
- fixed paths auto/ac/apache1-mod_watch-3_18-1
authorradek <radek@pld-linux.org>
Sun, 5 Sep 2004 16:44:01 +0000 (16:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_watch.spec -> 1.15

apache1-mod_watch.spec

index c317271bcff15be90a158a9b09ac639b82058440..3ae86d864e9f0fef73046a2036afd750a20b41ff 100644 (file)
@@ -63,9 +63,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-if [ -f %{_sysconfdir}/apache/apache.conf ] && \
-    ! grep -q "^Include.*mod_watch.conf" %{_sysconfdir}/apache/apache.conf; then
-       echo Include %{_sysconfdir}/apache/mod_watch.conf >> %{_sysconfdir}/apache/apache.conf
+if [ -f %{_sysconfdir}/apache.conf ] && \
+    ! grep -q "^Include.*mod_watch.conf" %{_sysconfdir}/apache.conf; then
+       echo "Include %{_sysconfdir}/mod_watch.conf" >> %{_sysconfdir}/apache.conf
 fi
 if [ -f /var/lock/subsys/apache ]; then
        /etc/rc.d/init.d/apache restart 1>&2
@@ -77,9 +77,9 @@ fi
 if [ "$1" = "0" ]; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
        umask 027
-       grep -v "^Include.*mod_watch.conf" %{_sysconfdir}/apache/apache.conf > \
-               %{_sysconfdir}/apache/apache.conf.tmp
-       mv -f %{_sysconfdir}/apache/apache.conf.tmp /etc/apache/apache.conf
+       grep -v "^Include.*mod_watch.conf" %{_sysconfdir}/apache.conf > \
+               %{_sysconfdir}/apache.conf.tmp
+       mv -f %{_sysconfdir}/apache.conf.tmp %{_sysconfdir}/apache.conf
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
        fi
This page took 0.055545 seconds and 4 git commands to generate.