diff options
author | Michael Vogt <mvo@debian.org> | 2010-10-13 13:38:13 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2010-10-13 13:38:13 +0200 |
commit | 0497fc4c09c434ea34aa4dbfe773451d9a7082d6 (patch) | |
tree | 334b8273078636f0341d3dd24f1ab3b39a1ead4a /debian/apt.cron.daily | |
parent | 3a97e9665d126a582c830376bfded145c0f9b2d1 (diff) | |
parent | 4b2a4ab8abb9f9b6ce262882480eee945a041d14 (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
* fix test failure on amd64
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r-- | debian/apt.cron.daily | 7 |
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 |