]> git.pld-linux.org Git - packages/apache1-mod_auth_yp.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module auto/ac/apache1-mod_auth_yp-1_0-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_auth_yp.spec -> 1.8

apache1-mod_auth_yp.spec

index 6997f7531318330918b60fe74287d9126a649261..0962b0060c171b890b050bb85250497e8dcc8ddb 100644 (file)
@@ -54,7 +54,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
This page took 0.082346 seconds and 4 git commands to generate.