]> git.pld-linux.org Git - packages/apache1-mod_ometer.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_ometer.spec -> 1.15

apache1-mod_ometer.spec

index d0805af94e200cfab79cd2071f74b47440656a4e..9a0048f1ddc01356dda069f39b2a1d133262d13d 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Apache module: Web counter
 Summary(pl):   Modu³ do Apache: licznik odwiedzin
 Name:          apache1-mod_%{mod_name}
 Version:       1.2.0
-Release:       0.2
+Release:       0.3
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.umich.edu/~umweb/downloads/mod_%{mod_name}-%{version}.tar.gz
@@ -75,7 +75,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.039547 seconds and 4 git commands to generate.