summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-12-21 13:26:33 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-12-21 13:26:33 +0100
commit6ad4feb6e2c4dc7badfdfd57c0110d58567d7a7a (patch)
tree8c0487dcbdf4563aefe40afc2cc2b71e3a6e7e56 /debian/apt.cron.daily
parent8076139ead08124e86be5f993baa8a43c22b0137 (diff)
parentf00d26304c1febd47d5d9aefdcb9dd7e25f4058c (diff)
merged with mvo branch
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 5524c16ee..7af689e1f 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -147,6 +147,9 @@ check_size_constraints()
fi
}
+if ! which apt-config >/dev/null; then
+ exit 0
+fi
UpdateInterval=0
DownloadUpgradeableInterval=0
@@ -172,6 +175,7 @@ fi
# check if we can lock the cache and if the cache is clean
if ! apt-get check -q -q 2>/dev/null; then
+ echo "$0: could not lock the APT cache"
exit 1
fi