]> git.saurik.com Git - apt.git/commitdiff
* Fix cron.daily job to not call fail if apt isn't installed, closes:
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 16 Dec 2007 20:46:43 +0000 (18:46 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 16 Dec 2007 20:46:43 +0000 (18:46 -0200)
  #443286.

debian/apt.cron.daily
debian/changelog

index 1d4df56b63ccd7a06f3633cc01d56e33ed3ec104..7af689e1f670474dc7a93706538ca78759ec69f0 100644 (file)
@@ -147,6 +147,9 @@ check_size_constraints()
     fi
 }
 
+if ! which apt-config >/dev/null; then
+       exit 0
+fi
 
 UpdateInterval=0
 DownloadUpgradeableInterval=0
index 99124b6fdc516b781d5b486cd6c98a116c76af59..9ae68c770295d3d386c541fe4842b6dc64f3f4c5 100644 (file)
@@ -21,6 +21,8 @@ apt (0.7.10) UNRELEASED; urgency=low
   * Applied patch from Peter Eisentraut <peter_e@gmx.net> 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 <otavio@ossystems.com.br>  Sun, 16 Dec 2007 18:34:40 -0200
+ -- Otavio Salvador <otavio@ossystems.com.br>  Sun, 16 Dec 2007 18:46:29 -0200
 
 apt (0.7.9) unstable; urgency=low