Skip to content

Commit

Permalink
Revert "Fix for #23221"
Browse files Browse the repository at this point in the history
  • Loading branch information
jfindlay committed May 22, 2015
1 parent 55732ab commit e85f80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/localemod.py
Expand Up @@ -208,7 +208,7 @@ def gen_locale(locale, **kwargs):

if on_debian or on_gentoo: # file-based search
search = '/usr/share/i18n/SUPPORTED'
valid = __salt__['file.search'](search, '^{0}( (UTF-8|ISO-8859-.).?)?$'.format(locale))
valid = __salt__['file.search'](search, '^{0}$'.format(locale))
else: # directory-based search
if on_suse:
search = '/usr/share/locale'
Expand Down

0 comments on commit e85f80a

Please sign in to comment.