X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c1cde32ed651337684f52f9aee6eead01b70d352..0ff1a4556c0a0fb76ce48e88031eff2b4d613c5e:/debian/apt.cron.daily?ds=sidebyside 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