SPECS: php4-mcache.spec - fix postun
glen
glen at pld-linux.org
Fri Feb 3 23:58:20 CET 2006
Author: glen Date: Fri Feb 3 22:58:20 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix postun
---- Files affected:
SPECS:
php4-mcache.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/php4-mcache.spec
diff -u SPECS/php4-mcache.spec:1.18 SPECS/php4-mcache.spec:1.19
--- SPECS/php4-mcache.spec:1.18 Sun Oct 30 11:27:34 2005
+++ SPECS/php4-mcache.spec Fri Feb 3 23:58:14 2006
@@ -10,7 +10,6 @@
%define _beta beta10
%define _rel 1
Release: 0.%{_beta}.%{_rel}
-Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://www.klir.com/~johnm/php-mcache/php-mcache-ext-%{version}-%{_beta}.tar.gz
@@ -91,8 +90,10 @@
[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
%postun
-[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
-[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
+if [ "$1" = 0 ]; then
+ [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
+ [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
+fi
%files
%defattr(644,root,root,755)
@@ -107,6 +108,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2006/02/03 22:58:14 glen
+- fix postun
+
Revision 1.18 2005/10/30 10:27:34 glen
- rebuild with zts and debug requires [FN]
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php4-mcache.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list