Merge pull request #763 from mscherer/fix_656

Do not assume that /var/lib/locales/supported.d/local exist
reviewable/pr18780/r1
Brian Coca 9 years ago
commit 146c2ac3bc

@ -176,7 +176,7 @@ def main():
state = module.params['state'] state = module.params['state']
if not os.path.exists("/etc/locale.gen"): if not os.path.exists("/etc/locale.gen"):
if os.path.exists("/var/lib/locales/supported.d/local"): if os.path.exists("/var/lib/locales/supported.d/"):
# Ubuntu created its own system to manage locales. # Ubuntu created its own system to manage locales.
ubuntuMode = True ubuntuMode = True
else: else:

Loading…
Cancel
Save