Bug#436241: dh-make: please include in the cron.d.ex file an [ -x ] test
Package: dh-make
Version: 0.42
Severity: wishlist
Tags: patch
X-Debbugs-Cc: debian-qa@lists.debian.org
Please include in the cron.d.ex file an [ -x ] test as already happens
for initscripts.
See these threads:
http://lists.debian.org/debian-qa/2007/08/msg00000.html
http://lists.debian.org/debian-qa/2007/08/msg00032.html
It's actually in policy.
I think dh-make should help with some change like:
--- cron.d.ex.orig 2007-08-06 09:42:47.000000000 -0400
+++ cron.d.ex 2007-08-06 09:42:42.000000000 -0400
@@ -1,4 +1,4 @@
#
# Regular cron jobs for the xx package
#
-0 4 * * * root xx_maintenance
+0 4 * * * root [ ! -x /usr/bin/foo ] || foo --bar
Reply to: