]> git.pld-linux.org Git - packages/apache-mod_chroot.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Apr 2006 17:07:56 +0000 (17:07 +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:
    apache-mod_chroot.spec -> 1.5

apache-mod_chroot.spec

index 06cc070a15c5c1c18adb74c9b0f333f5282145ae..287f02f2fbec0f7a4f782347207ffcca42791dc3 100644 (file)
@@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
 %post
 %service -q httpd restart
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        %service -q httpd restart
 fi
This page took 0.076886 seconds and 4 git commands to generate.