]> git.saurik.com Git - apt.git/commitdiff
* debian/apt.cron.daily:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 1 Oct 2010 13:25:24 +0000 (15:25 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 1 Oct 2010 13:25:24 +0000 (15:25 +0200)
  - source /etc/default/locale (if available) so that the
    apt-get update cron job fetches the right translated package
    descriptions

debian/apt.cron.daily
debian/changelog

index bee0a8f01522447a1ab2b9c3d5741b64f0ca7282..a699f05836b2582fb01bd43cfd4720d37af72876 100644 (file)
@@ -430,6 +430,13 @@ do_cache_backup $BackupArchiveInterval
 # mirrors at the same time
 random_sleep
 
+# include default system language so that "apt-get update" will
+# fetch the right translated package descriptions
+if [ -r /etc/default/locale ]; then
+    . /etc/default/locale
+    export LANG LANGUAGE LC_MESSAGES LC_ALL
+fi
+
 # update package lists
 UPDATED=0
 UPDATE_STAMP=/var/lib/apt/periodic/update-stamp
index da6a63d8fca257751e33fd1436b70226c53b18a5..76edb20ec7be0ccc75b35c339591b9901745884e 100644 (file)
@@ -1,3 +1,12 @@
+apt (0.8.3ubuntu6) maverick; urgency=low
+
+  * debian/apt.cron.daily:
+    - source /etc/default/locale (if available) so that the 
+      apt-get update cron job fetches the right translated package
+      descriptions
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 01 Oct 2010 15:25:00 +0200
+
 apt (0.8.3ubuntu5) maverick; urgency=low
 
   * debian/apt.dirs: