mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
0c76dd4d8a
commit
0941fefd2b
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ def gen_locale(locale):
|
|||
if os.path.exists('/etc/locale.gen'):
|
||||
__salt__['file.replace'](
|
||||
'/etc/locale.gen',
|
||||
r'^#\s*{0}$'.format(locale),
|
||||
r'^\s*#\s*{0}\s*$'.format(locale),
|
||||
'{0}'.format(locale),
|
||||
append_if_not_found=True
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue