Merge pull request #3252 from h-imaoka/yum-lang-fix
One more bug yum non English locales
This commit is contained in:
commit
1eea1be5c5
1 changed files with 2 additions and 1 deletions
|
@ -657,7 +657,8 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
|
||||||
|
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
rc, out, err = module.run_command(cmd)
|
lang_env = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C')
|
||||||
|
rc, out, err = module.run_command(cmd, environ_update=lang_env)
|
||||||
|
|
||||||
if (rc == 1):
|
if (rc == 1):
|
||||||
for spec in items:
|
for spec in items:
|
||||||
|
|
Loading…
Add table
Reference in a new issue