[debian-edu-commits] debian-edu/ 05/10: Only run the debian-edu-etc-svk cron job when the package is installed.

Alexander Alemayhu alexander at bitraf.no
Thu Aug 7 07:20:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

ccscanf-guest pushed a commit to annotated tag 0.412.0.edu.etch.1+svn35080
in repository debian-edu-config.

commit 036609912597a476086a74b80991b344825294f2
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Thu Jun 28 08:28:20 2007 +0000

    Only run the debian-edu-etc-svk cron job when the package is installed.
---
 debian/cron.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/cron.d b/debian/cron.d
index 0f9961a..50e02ec 100644
--- a/debian/cron.d
+++ b/debian/cron.d
@@ -1,6 +1,6 @@
 #
 # Commit /etc/ in svk if activated
-0 * * * * root [ -d ~root/.svk ] && /usr/sbin/debian-edu-etc-svk update
+0 * * * * root [ -x /usr/sbin/debian-edu-etc-svk ] && [ -d ~root/.svk ] && /usr/sbin/debian-edu-etc-svk update
 # Only dry-run cfengine cron job until we know it is safe to run on an installed
 # system [pere 2003-08-30]
 # Disable until it no longer run in "installation" mode. [pere 2003-09-01]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list