From 3d8b3f598c7372f7c34953d6bb270d82ec3f9c6a 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_auth_pgsql.spec -> 1.32 --- apache-mod_auth_pgsql.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache-mod_auth_pgsql.spec b/apache-mod_auth_pgsql.spec index 72b5a42..b3a8880 100644 --- a/apache-mod_auth_pgsql.spec +++ b/apache-mod_auth_pgsql.spec @@ -102,7 +102,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