summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/apt.cron.daily7
-rw-r--r--debian/changelog9
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index bee0a8f01..a699f0583 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -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
diff --git a/debian/changelog b/debian/changelog
index da6a63d8f..76edb20ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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: