SPECS: cups.spec - use %php_webserver_restart
glen
glen at pld-linux.org
Tue Jan 16 23:08:19 CET 2007
Author: glen Date: Tue Jan 16 22:08:19 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use %php_webserver_restart
---- Files affected:
SPECS:
cups.spec (1.182 -> 1.183)
---- Diffs:
================================================================
Index: SPECS/cups.spec
diff -u SPECS/cups.spec:1.182 SPECS/cups.spec:1.183
--- SPECS/cups.spec:1.182 Tue Jan 16 22:48:27 2007
+++ SPECS/cups.spec Tue Jan 16 23:08:14 2007
@@ -372,13 +372,11 @@
%postun image-lib -p /sbin/ldconfig
%post -n php-cups
-[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
-[ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
+%php_webserver_restart
%postun -n php-cups
if [ "$1" = 0 ]; then
- [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
- [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
+ %php_webserver_restart
fi
%files
@@ -589,6 +587,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.183 2007/01/16 22:08:14 glen
+- use %php_webserver_restart
+
Revision 1.182 2007/01/16 21:48:27 glen
- use new php extension macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/cups.spec?r1=1.182&r2=1.183&f=u
More information about the pld-cvs-commit
mailing list