From: Elan Ruusamäe Date: Wed, 16 Feb 2005 17:52:15 +0000 (+0000) Subject: - restart apache in %postun rather in %preun as the config file, loading module X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=6dbdc80716a236c78058897ec565d2fbfea3fb8d;p=packages%2Fapache1-mod_auth_mysql.git - 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_mysql.spec -> 1.36 --- diff --git a/apache1-mod_auth_mysql.spec b/apache1-mod_auth_mysql.spec index 4ff1507..2878e37 100644 --- a/apache1-mod_auth_mysql.spec +++ b/apache1-mod_auth_mysql.spec @@ -14,7 +14,7 @@ Summary(pt_BR): Autentica Summary(sv): Grundläggande autenticering för webbservern Apache med en MySQL-databas Name: apache1-mod_%{mod_name} Version: 2.20 -Release: 1.2 +Release: 1.3 License: GPL Group: Networking/Daemons Source0: http://www.diegonet.com/support/mod_auth_mysql-%{version}.tar.gz @@ -111,7 +111,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