From 8796d6818c8f99c780cb2017f996dab78b18c38c Mon Sep 17 00:00:00 2001 From: Grzegorz Sterniczuk Date: Tue, 13 Aug 2002 15:06:22 +0000 Subject: [PATCH] - sed -e "s/%{_sbindir}\/apxs -e/\%{apxs} -e/" Changed files: apache-mod_watch.spec -> 1.3 --- apache-mod_watch.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache-mod_watch.spec b/apache-mod_watch.spec index 53093ee..71353eb 100644 --- a/apache-mod_watch.spec +++ b/apache-mod_watch.spec @@ -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 -- 2.44.0