packages: eventum/eventum.spec - allow upgrading on missing crontabs

glen glen at pld-linux.org
Wed May 26 19:34:57 CEST 2010


Author: glen                         Date: Wed May 26 17:34:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- allow upgrading on missing crontabs

---- Files affected:
packages/eventum:
   eventum.spec (1.315 -> 1.316) 

---- Diffs:

================================================================
Index: packages/eventum/eventum.spec
diff -u packages/eventum/eventum.spec:1.315 packages/eventum/eventum.spec:1.316
--- packages/eventum/eventum.spec:1.315	Wed Apr 14 16:21:25 2010
+++ packages/eventum/eventum.spec	Wed May 26 19:34:52 2010
@@ -11,8 +11,8 @@
 %bcond_without	order	# with experimental order patch
 
 #define	snap	20060921
-%define	rev		r4075
-%define	rel		2.62
+%define	rev		r4089
+%define	rel		2.64
 #define	_rc		RC3
 
 %define		php_min_version 5.1.2
@@ -29,7 +29,7 @@
 #Source0:	http://mysql.easynet.be/Downloads/eventum/%{name}-%{version}.tar.gz
 # bzr branch lp:eventum eventum && cd eventum && make dist
 Source0:	%{name}-%{version}-dev-%{rev}.tar.gz
-# Source0-md5:	6fe28279980f06136ae38e94d907549d
+# Source0-md5:	8dbcfe39d29efa4cb8b2dd8c230fe979
 Source1:	%{name}-apache.conf
 Source2:	%{name}-mail-queue.cron
 Source3:	%{name}-mail-download.cron
@@ -664,6 +664,7 @@
 chgrp http /var/log/%{name}/*
 # update crontab user
 for a in /etc/cron.d/eventum-*; do
+	[ -f "$a" ] || continue
 	awk '!/#/ && NR > 6 && $6 =="eventum" {sub("eventum", "http", $6)}{print}'  $a > $a.rpmtmp && cat $a.rpmtmp > $a
 	rm -f $a.rpmtmp
 done
@@ -805,6 +806,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.316  2010/05/26 17:34:52  glen
+- allow upgrading on missing crontabs
+
 Revision 1.315  2010/04/14 14:21:25  glen
 - r4075, spec cleanups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/eventum/eventum.spec?r1=1.315&r2=1.316&f=u



More information about the pld-cvs-commit mailing list