mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix locale generation on Ubuntu
This commit is contained in:
parent
7f49fbb70d
commit
27776b5f4e
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