From 3ffd9cc1a0dde83ccbf4f9db92320d774ddce5b1 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_mp3.spec -> 1.34 --- apache1-mod_mp3.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache1-mod_mp3.spec b/apache1-mod_mp3.spec index fc75ca3..9a53cae 100644 --- a/apache1-mod_mp3.spec +++ b/apache1-mod_mp3.spec @@ -6,7 +6,7 @@ Summary: MP3 Apache module Summary(pl): Modu³ MP3 do Apache Name: apache1-mod_%{mod_name} Version: 0.40 -Release: 2.2 +Release: 2.3 License: BSD Group: Networking/Daemons Source0: http://www.tangent.org/download/mod_%{mod_name}-%{version}.tar.gz @@ -67,7 +67,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.43.0