add LANG=C to apt module so the string matches on the output always match

pull/4420/head
James Pharaoh 2014-09-18 20:56:10 +02:00
parent 91ca8d42e7
commit 98a1fd681e
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ import fnmatch
# APT related constants
APT_ENV_VARS = dict(
DEBIAN_FRONTEND = 'noninteractive',
DEBIAN_PRIORITY = 'critical'
DEBIAN_PRIORITY = 'critical',
LANG = 'C'
)
DPKG_OPTIONS = 'force-confdef,force-confold'