[debian-edu-commits] debian-edu/pkg-team/ 05/08: CRON: Only execute ldap2bind, if really installed.
Mike Gabriel
sunweaver at debian.org
Mon Feb 15 14:56:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository ldap2zone.
commit 3cc6fc9141711bf2f9f276254d91044c6293ddfe
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Feb 15 15:50:12 2016 +0100
CRON: Only execute ldap2bind, if really installed.
---
debian/cron.d | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/cron.d b/debian/cron.d
index 2984f81..845740c 100644
--- a/debian/cron.d
+++ b/debian/cron.d
@@ -1,4 +1,4 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
- at reboot bind /usr/sbin/ldap2bind
- at hourly bind /usr/sbin/ldap2bind
+ at reboot bind test -x /usr/sbin/ldap2bind && /usr/sbin/ldap2bind
+ at hourly bind test -x /usr/sbin/ldap2bind && /usr/sbin/ldap2bind
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/ldap2zone.git
More information about the debian-edu-commits
mailing list