- restart apache in %postun rather in %preun as the config file, loading module auto/ac/apache1-mod_become-1_3-2
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 17:52:15 +0000 (17:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  is still there and module will be loaded after package is uninstalled, which
  later causes missing configuration file errors.

Changed files:
    apache1-mod_become.spec -> 1.7

apache1-mod_become.spec

index 53cfcad..8406d77 100644 (file)
@@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
 echo "mod_%{mod_name}: This module is not turned on by default; if you're sure,"
 echo "mod_%{mod_name}: uncomment the appropriate line in Apache's config file."
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
This page took 0.096924 seconds and 4 git commands to generate.