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-Url: http://git.pld-linux.org/?p=packages%2Fapache-mod_bt.git;a=commitdiff_plain;h=bcd9d7d075b3288d441c689e7bb1aa35ef61feae - 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_bt.spec -> 1.7 --- diff --git a/apache-mod_bt.spec b/apache-mod_bt.spec index 1978d66..55750e3 100644 --- a/apache-mod_bt.spec +++ b/apache-mod_bt.spec @@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT %post %service -q httpd restart -%preun +%postun if [ "$1" = "0" ]; then %service -q httpd restart fi