diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-12-18 14:46:18 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-12-18 14:46:18 +0100 |
commit | 2efa2efe2f28804b47f210ffb26ee9c7145f38b3 (patch) | |
tree | 53269c757b33b8e81f7a16ddfe8836b431112390 /etc | |
parent | a9c27bd43138752d84d2f47630e0790bb73968f6 (diff) | |
download | jenkins.debian.net-2efa2efe2f28804b47f210ffb26ee9c7145f38b3.tar.xz |
improve debian packaging, fix a few small issues detected by lintian
Diffstat (limited to 'etc')
-rwxr-xr-x[-rw-r--r--] | etc/cron.daily/jenkins | 0 | ||||
-rwxr-xr-x | etc/cron.daily/visitors | 8 | ||||
-rw-r--r--[-rwxr-xr-x] | etc/sudoers.d/jenkins | 0 |
3 files changed, 8 insertions, 0 deletions
diff --git a/etc/cron.daily/jenkins b/etc/cron.daily/jenkins index 8100995e..8100995e 100644..100755 --- a/etc/cron.daily/jenkins +++ b/etc/cron.daily/jenkins diff --git a/etc/cron.daily/visitors b/etc/cron.daily/visitors index e310dde7..ef011d65 100755 --- a/etc/cron.daily/visitors +++ b/etc/cron.daily/visitors @@ -3,6 +3,14 @@ # Copyright 2012 Holger Levsen <holger@layer-acht.org> # released under the GPLv=2 +[ -x /usr/bin/visitors ] || exit 0 +[ -x /usr/bin/ip2host ] || exit 0 + +if [ ! -f /usr/share/doc/zutils/copyright ] ; then + echo package zutils needs to be installed too + exit 1 +fi + LOGS=$(mktemp) DOT=$(mktemp) # FIXME: provide monthly stats and don't run this daily diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins index 05cdcf84..05cdcf84 100755..100644 --- a/etc/sudoers.d/jenkins +++ b/etc/sudoers.d/jenkins |