summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-10-13 22:27:56 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-10-13 22:27:56 +0200
commit2faaf8bea85149fb131735a6bd7437fec3771ee0 (patch)
tree6c6ccb53abac45fdf9cb1f6fb3991ac4bcecb5c1 /debian/apt.cron.daily
parent3b9c5cc2bdf1584525792aafe4e8f15d09951583 (diff)
parentbe61b563c20267c521494cca92bd7ac158366c89 (diff)
merge with debian-sid
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index 8ace14a31..c61bfb9bb 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -417,6 +417,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