From bcd9d7d075b3288d441c689e7bb1aa35ef61feae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 14 Apr 2006 17:07:56 +0000 Subject: [PATCH] - 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 --- apache-mod_bt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0