]> git.pld-linux.org Git - packages/apache1-mod_ssl.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module auto/ac/apache1-mod_ssl-2_8_22_1_3_33-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_ssl.spec -> 1.99

apache1-mod_ssl.spec

index df4fb08b92375e9eb91fe40d0e684427e18e2678..5cf7e71b9eb819ace47b34674736da96d06550de 100644 (file)
@@ -228,7 +228,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
@@ -258,7 +258,7 @@ if [ -f /var/lock/subsys/apache ]; then
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
-%preun -n apache1-mod_sxnet
+%postun -n apache1-mod_sxnet
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
This page took 0.054849 seconds and 4 git commands to generate.