]> git.pld-linux.org Git - packages/apache1-mod_watch.git/commitdiff
- sed -e "s/%{_sbindir}\/apxs -e/\%{apxs} -e/"
authorGrzegorz Sterniczuk <grzegorz@sterniczuk.eu>
Tue, 13 Aug 2002 15:06:22 +0000 (15:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_watch.spec -> 1.3

apache1-mod_watch.spec

index 53093ee89738ba009669eaf3018e3ae80a27fdc9..71353eb3361a7ee08068f28564a671a1e6bd4664 100644 (file)
@@ -51,7 +51,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mod_watch.conf
 gzip -9nf CHANGES* apache2mrtg* 
 
 %post
-%{_sbindir}/apxs -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+%{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_watch.conf" /etc/httpd/httpd.conf; then
         echo "Include /etc/httpd/mod_watch.conf" >> /etc/httpd/httpd.conf
 fi
@@ -61,7 +61,7 @@ fi
 
 %preun
 if [ "$1" = "0" ]; then
-       %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+       %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
         grep -v "^Include.*mod_watch.conf" /etc/httpd/httpd.conf > \
                 /etc/httpd/httpd.conf.tmp
         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
This page took 0.080961 seconds and 4 git commands to generate.