mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31170 from rallytime/bp-31157
Back-port #31157 to 2015.8
This commit is contained in:
commit
f2efd3e6c1
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ def gen_locale(locale, **kwargs):
|
|||
locale_info = salt.utils.locales.split_locale(locale)
|
||||
|
||||
# if the charmap has not been supplied, normalize by appening it
|
||||
if not locale_info['charmap']:
|
||||
if not locale_info['charmap'] and not on_ubuntu:
|
||||
locale_info['charmap'] = locale_info['codeset']
|
||||
locale = salt.utils.locales.join_locale(locale_info)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue