From 2efa2efe2f28804b47f210ffb26ee9c7145f38b3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 18 Dec 2012 14:46:18 +0100 Subject: improve debian packaging, fix a few small issues detected by lintian --- etc/cron.daily/jenkins | 0 etc/cron.daily/visitors | 8 ++++++++ 2 files changed, 8 insertions(+) mode change 100644 => 100755 etc/cron.daily/jenkins (limited to 'etc/cron.daily') diff --git a/etc/cron.daily/jenkins b/etc/cron.daily/jenkins old mode 100644 new mode 100755 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 # 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 -- cgit v1.2.3-54-g00ecf