From 21b57f60f00bd01e6e7a42af0a105ce3f0b0b0b4 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_perl.spec -> 1.22 --- apache1-mod_perl.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache1-mod_perl.spec b/apache1-mod_perl.spec index db81141..abc9c5b 100644 --- a/apache1-mod_perl.spec +++ b/apache1-mod_perl.spec @@ -27,7 +27,7 @@ Summary(uk): Summary(zh_CN): ÓÃÓÚ Apache web ·þÎñ³ÌÐòµÄ Perl ½âÊͳÌÐò¡£ Name: apache1-mod_perl Version: 1.29 -Release: 7.3 +Release: 7.4 License: GPL Group: Networking/Daemons Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz @@ -246,7 +246,7 @@ else echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon." 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