]> git.pld-linux.org Git - packages/apache1-mod_chroot.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_chroot.spec -> 1.6

apache1-mod_chroot.spec

index a8912c89c408bf91d445259397f1c8744c81028e..c2920da4922faff3de35307b879946b7bb315549 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Apache module: makes running Apache in a secure chroot environment easy
 Summary(pl):   Modu³ Apache'a do uruchamiania serwera w bezpiecznym ¶rodowisku chroot
 Name:          apache1-mod_%{mod_name}
 Version:       0.4
 Summary(pl):   Modu³ Apache'a do uruchamiania serwera w bezpiecznym ¶rodowisku chroot
 Name:          apache1-mod_%{mod_name}
 Version:       0.4
-Release:       0.2
+Release:       0.3
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://core.segfault.pl/~hobbit/mod_chroot/dist/mod_chroot-%{version}.tar.gz
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://core.segfault.pl/~hobbit/mod_chroot/dist/mod_chroot-%{version}.tar.gz
@@ -51,7 +51,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.054102 seconds and 4 git commands to generate.