summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-12-16 18:46:43 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2007-12-16 18:46:43 -0200
commit18d38975fb8ff17340ddf0457d74f02a596248fb (patch)
tree5fdde91061c57ee4faa568eaacbb9e57513a35de /debian/apt.cron.daily
parent7806855fae29481c2f1a6af255e5b9add5c21a1a (diff)
* Fix cron.daily job to not call fail if apt isn't installed, closes:
#443286.
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily3
1 files changed, 3 insertions, 0 deletions
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