]> git.pld-linux.org Git - packages/apache-mod_dosevasive.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Apr 2006 17:07:56 +0000 (17:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  is still there and module will be loaded after package is uninstalled, which
  later causes missing configuration file errors.

Changed files:
    apache-mod_dosevasive.spec -> 1.21

apache-mod_dosevasive.spec

index 7470ff9c2e3b7423f96698bbdc8a660bc8e16b8f..680ade18ab05ea0c8fb552728283ca942238b0f9 100644 (file)
@@ -61,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %service -q httpd restart
 
 %post
 %service -q httpd restart
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        %service -q httpd restart
 fi
 if [ "$1" = "0" ]; then
        %service -q httpd restart
 fi
This page took 0.055548 seconds and 4 git commands to generate.