From 18d38975fb8ff17340ddf0457d74f02a596248fb Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 16 Dec 2007 18:46:43 -0200 Subject: [PATCH] * Fix cron.daily job to not call fail if apt isn't installed, closes: #443286. --- debian/apt.cron.daily | 3 +++ debian/changelog | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 1d4df56b6..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 diff --git a/debian/changelog b/debian/changelog index 99124b6fd..9ae68c770 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ apt (0.7.10) UNRELEASED; urgency=low * Applied patch from Peter Eisentraut to fix a grammatical error ("manual installed" -> "manually installed"), closes: #438136. + * Fix cron.daily job to not call fail if apt isn't installed, closes: + #443286. [ Program translations ] - Basque updated. Closes: #453088 @@ -46,7 +48,7 @@ apt (0.7.10) UNRELEASED; urgency=low * ftparchive/multicompress.cc: - support lzma output - -- Otavio Salvador Sun, 16 Dec 2007 18:34:40 -0200 + -- Otavio Salvador Sun, 16 Dec 2007 18:46:29 -0200 apt (0.7.9) unstable; urgency=low -- 2.47.2