]> git.pld-linux.org Git - packages/apache1-mod_cvs.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module auto/ac/apache1-mod_cvs-0_5-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_cvs.spec -> 1.27

apache1-mod_cvs.spec

index b26f9a253109bd0c6cdf8652c2882f27062fa28e..16c5cb5c3f959ce2719c7c26d91ef266fa66ae63 100644 (file)
@@ -52,7 +52,7 @@ if [ -f /var/lock/subsys/apache ]; then
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
        /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
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
This page took 0.062896 seconds and 4 git commands to generate.