]> git.pld-linux.org Git - packages/apache-mod_gzip.git/commitdiff
- fixed huge bug (zeroing httpd.conf after deinstalation)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 26 Mar 2002 23:47:23 +0000 (23:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_gzip.spec -> 1.10

apache-mod_gzip.spec

index 9e44d0c0b1a5834afa2194232372c0e17d490345..d85c973ee92110c0584b858f48c13b1bd703f354 100644 (file)
@@ -61,7 +61,7 @@ fi
 %preun
 if [ "$1" = "0" ]; then
        %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
 %preun
 if [ "$1" = "0" ]; then
        %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-       grep -v -q "^Include.*mod_gzip.conf" /etc/httpd/httpd.conf > \
+       grep -v "^Include.*mod_gzip.conf" /etc/httpd/httpd.conf > \
                 /etc/httpd/httpd.conf.tmp
         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
                 /etc/httpd/httpd.conf.tmp
         mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
        if [ -f /var/lock/subsys/httpd ]; then
This page took 0.038841 seconds and 4 git commands to generate.