From c2c198c9fa01ae5e32f69de1293ae3e642940021 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 16 Feb 2005 17:52:15 +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: apache1-mod_auth_samba.spec -> 1.32 --- apache1-mod_auth_samba.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache1-mod_auth_samba.spec b/apache1-mod_auth_samba.spec index d72f4ac..8a3c5b5 100644 --- a/apache1-mod_auth_samba.spec +++ b/apache1-mod_auth_samba.spec @@ -62,7 +62,7 @@ if [ -f /var/lock/subsys/apache ]; then /etc/rc.d/init.d/apache restart 1>&2 fi -%preun +%postun if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/apache ]; then /etc/rc.d/init.d/apache restart 1>&2 -- 2.44.0