]> git.pld-linux.org Git - packages/apache1-mod_rpaf.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_rpaf.spec -> 1.5

apache1-mod_rpaf.spec

index 3bfcaf7c4d7d49b20e85635047987da74be90084..d797f0c2eda868d1d70789eec2e2edc37c8225d4 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Apache module: record traffic statistics into a database
 Summary(pl):   Modu³ Apache'a: zapisywanie statystyk ruchu do bazy danych
 Name:          apache1-mod_%{mod_name}
 Version:       0.5
 Summary(pl):   Modu³ Apache'a: zapisywanie statystyk ruchu do bazy danych
 Name:          apache1-mod_%{mod_name}
 Version:       0.5
-Release:       0.12
+Release:       0.13
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz
@@ -55,7 +55,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.049458 seconds and 4 git commands to generate.