]> git.pld-linux.org Git - packages/apache1-mod_snake.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_snake.spec -> 1.18

apache1-mod_snake.spec

index 876d1d161a812a34e0b0624dd255e98c1a95f9a8..e5a55af7ef341a2f8387e22f4622c085c8f72a34 100644 (file)
@@ -7,7 +7,7 @@ Summary:        An Apache module to allow for Python plugins and control
 Summary(pl):   Modu³ do Apache pozwalaj±cy na kontrolê i wtyczki Pythona
 Name:          apache1-mod_%{mod_name}
 Version:       0.5.0
-Release:       1.1
+Release:       1.2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/mod%{mod_name}/mod_%{mod_name}-%{version}.tar.gz
@@ -65,7 +65,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.14014 seconds and 4 git commands to generate.