]> git.pld-linux.org Git - packages/apache1-mod_antihak.git/blobdiff - apache1-mod_antihak.spec
- restart apache in %postun rather in %preun as the config file, loading module
[packages/apache1-mod_antihak.git] / apache1-mod_antihak.spec
index 1c67791f293c80e95bffd563043c927eb93bea0a..d9eacb28d5f20495f8ac42b1ba64149de395cb81 100644 (file)
@@ -5,7 +5,7 @@ Summary(pl):    Modu
 Name:          apache1-mod_%{mod_name}
 %define                tar_ver 0.3.1-beta
 Version:       0.3.1beta
-Release:       3.2
+Release:       3.3
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/apantihak/mod_antihak-%{tar_ver}.tar.gz
@@ -87,7 +87,7 @@ else
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
 fi
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if grep -qF "^http ALL= NOPASSWD: /sbin/iptables" /etc/sudoers ; then
                sed -i -e '/^http ALL= NOPASSWD: /sbin/iptables$/d' /etc/sudoers
This page took 0.085699 seconds and 4 git commands to generate.