- 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_cband.spec -> 1.15

apache-mod_cband.spec

index 47bd783..be7fca8 100644 (file)
@@ -55,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %service -q httpd restart
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        %service -q httpd restart
 fi
This page took 0.032953 seconds and 4 git commands to generate.