]> git.pld-linux.org Git - packages/apache1-mod_msff.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module
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_msff.spec -> 1.11

apache1-mod_msff.spec

index 0e1f2551c8ee21f99044a3cf4a3ee79a62f4c4c0..cabc81dfc162b46477f8085288dcea75b6a0abdc 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Apache module: Microsoft Free Fridays: reject MSIE on Friday
 Summary(pl):   Modu³ do apache: Wolne Pi±tki Microsoftu: odrzuca MSIE w pi±tki
 Name:          apache1-mod_%{mod_name}
 Version:       0.1
-Release:       1.1
+Release:       1.2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://unlikely.org/mike/hacks/mod_%{mod_name}.c
@@ -56,7 +56,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.060479 seconds and 4 git commands to generate.