summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-10-01 15:25:24 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-10-01 15:25:24 +0200
commit7e1d0a91891ae79facf30ca058557b6e45650f31 (patch)
tree349bc2fb98e31bdc15536c3a7e121bb31c6cece6 /debian
parent8157cdd7b3abef63e8dff898bc763fc420b1089e (diff)
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the apt-get update cron job fetches the right translated package descriptions
Diffstat (limited to 'debian')
-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: