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

apache1-mod_accounting.spec

index f64c4772b05a1446ef9d6853f36023fd84abbe2f..a21fdf5c2e213dcd4b10444622ecf9146ec0ac81 100644 (file)
@@ -46,7 +46,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mod_accounting.conf
 gzip -9nf README ChangeLog
 
 %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_accounting.conf" /etc/httpd/httpd.conf; then
         echo "Include /etc/httpd/mod_accounting.conf" >> /etc/httpd/httpd.conf
 fi
@@ -56,7 +56,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_accounting.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.071003 seconds and 4 git commands to generate.