From: Elan Ruusamäe Date: Fri, 14 Apr 2006 17:07:56 +0000 (+0000) Subject: - restart apache in %postun rather in %preun as the config file, loading module X-Git-Tag: auto/ac/apache-mod_python-3_2_10-1~4 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fapache-mod_python.git;a=commitdiff_plain;h=143b215e34428ae6dcb1420ac1b603b83efd78ab;ds=sidebyside - restart apache in %postun rather in %preun as the config file, loading module 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 --- diff --git a/apache-mod_python.spec b/apache-mod_python.spec index ee42354..0135a3f 100644 --- a/apache-mod_python.spec +++ b/apache-mod_python.spec @@ -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