]> git.pld-linux.org Git - packages/apache1-mod_security.git/blobdiff - apache1-mod_security.spec
- restart apache in %postun rather in %preun as the config file, loading module
[packages/apache1-mod_security.git] / apache1-mod_security.spec
index 23de05e3d1a85c40f0dfb1d8a8fc57f29923372f..cdbd775186d3fd86b88c1d345a8f2b0d3182fa45 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Apache module: securing web applications
 Summary(pl):   Modu³ do apache: ochrona aplikacji WWW
 Name:          apache1-mod_%{mod_name}
 Version:       1.8.6
-Release:       0.3
+Release:       0.4
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://www.modsecurity.org/download/mod_security-%{version}.tar.gz
@@ -52,7 +52,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.066136 seconds and 4 git commands to generate.