- 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_python.spec -> 1.83

apache-mod_python.spec

index ee423542a2a4d5829da62a0dd15e73d22fe9570c..0135a3f12ade91b325326f0c0c7f2b13e213ac8d 100644 (file)
@@ -153,7 +153,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.05047 seconds and 4 git commands to generate.