SPECS: apache1-mod_suphp.spec, apache1-mod_xslt.spec - restart apa...
glen
glen at pld-linux.org
Fri Apr 14 19:05:08 CEST 2006
Author: glen Date: Fri Apr 14 17:05:08 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- restart apache in %postun rather in %preun as the config file, loading module
is still there and module will be loaded after package is uninstalled, which
later causes missing configuration file errors.
---- Files affected:
SPECS:
apache1-mod_suphp.spec (1.6 -> 1.7) , apache1-mod_xslt.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/apache1-mod_suphp.spec
diff -u SPECS/apache1-mod_suphp.spec:1.6 SPECS/apache1-mod_suphp.spec:1.7
--- SPECS/apache1-mod_suphp.spec:1.6 Fri Apr 14 19:03:25 2006
+++ SPECS/apache1-mod_suphp.spec Fri Apr 14 19:05:03 2006
@@ -86,7 +86,7 @@
%post
%service -q apache restart
-%preun
+%postun
if [ "$1" = "0" ]; then
%service -q apache restart
fi
@@ -116,6 +116,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2006/04/14 17:05:03 glen
+- restart apache in %postun rather in %preun as the config file, loading module
+ is still there and module will be loaded after package is uninstalled, which
+ later causes missing configuration file errors.
+
Revision 1.6 2006/04/14 17:03:25 glen
- use %service
================================================================
Index: SPECS/apache1-mod_xslt.spec
diff -u SPECS/apache1-mod_xslt.spec:1.31 SPECS/apache1-mod_xslt.spec:1.32
--- SPECS/apache1-mod_xslt.spec:1.31 Fri Apr 14 18:54:38 2006
+++ SPECS/apache1-mod_xslt.spec Fri Apr 14 19:05:03 2006
@@ -83,7 +83,7 @@
/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
@@ -101,6 +101,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2006/04/14 17:05:03 glen
+- restart apache in %postun rather in %preun as the config file, loading module
+ is still there and module will be loaded after package is uninstalled, which
+ later causes missing configuration file errors.
+
Revision 1.31 2006/04/14 16:54:38 glen
- obsoletes with constant version
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/apache1-mod_suphp.spec?r1=1.6&r2=1.7&f=u
http://cvs.pld-linux.org/SPECS/apache1-mod_xslt.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list