From 7e1d0a91891ae79facf30ca058557b6e45650f31 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 1 Oct 2010 15:25:24 +0200 Subject: [PATCH] * debian/apt.cron.daily: - source /etc/default/locale (if available) so that the apt-get update cron job fetches the right translated package descriptions --- debian/apt.cron.daily | 7 +++++++ debian/changelog | 9 +++++++++ 2 files changed, 16 insertions(+) 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 Fri, 01 Oct 2010 15:25:00 +0200 + apt (0.8.3ubuntu5) maverick; urgency=low * debian/apt.dirs: -- 2.50.0