diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-03 13:48:03 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-01-03 13:48:03 +0100 |
commit | bc87e700890863acd48fd61a5bc8dcc2386afd20 (patch) | |
tree | 1296f72efbd86945ce960a8e6e7d260b23e839e3 /debian/apt.cron.daily | |
parent | e0fe131836913901c8b353e38d74cc1526fcaf78 (diff) | |
parent | 3a6d37fdcfbdb152eb00371ff69b8871c9a02527 (diff) |
merge from apt--mvo
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r-- | debian/apt.cron.daily | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 4f7eff47b..d1016dfc5 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 |