diff --git a/system/locale_gen.py b/system/locale_gen.py index d10fc90ad45..1988ce4f3b0 100644 --- a/system/locale_gen.py +++ b/system/locale_gen.py @@ -176,7 +176,7 @@ def main(): state = module.params['state'] 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. ubuntuMode = True else: