mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Simple fix for locale.present on Ubuntu.
Signed-off-by: René Jochum <rene@jochums.at>
This commit is contained in:
parent
d41068ff61
commit
18cff0f454
@ -252,8 +252,7 @@ def gen_locale(locale, **kwargs):
|
||||
cmd = ['locale-gen']
|
||||
if on_gentoo:
|
||||
cmd.append('--generate')
|
||||
if not on_ubuntu:
|
||||
cmd.append(locale)
|
||||
cmd.append(locale)
|
||||
elif salt.utils.which("localedef") is not None:
|
||||
cmd = ['localedef', '--force',
|
||||
'-i', "{0}_{1}".format(locale_info['language'], locale_info['territory']),
|
||||
|
Loading…
Reference in New Issue
Block a user