Skip to content

Commit

Permalink
Update plugins/modules/locale_gen.py
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Fontein <felix@fontein.de>
  • Loading branch information
k0ste and felixfontein committed Feb 17, 2025
1 parent b1a7dbb commit 3cdddbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/locale_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init_module__(self):
if os.path.exists(ETC_LOCALE_GEN) and os.path.exists(SUPPORTED_LOCALES):
self.vars.ubuntu_mode = False
self.vars.mechanism = "ubuntu_glibc"
elif os.path.exists(ETC_LOCALE_GEN) and not os.path.exists(SUPPORTED_LOCALES):
elif os.path.exists(ETC_LOCALE_GEN):
self.vars.ubuntu_mode = False
self.vars.mechanism = "glibc"
elif os.path.exists(VAR_LIB_LOCALES):
Expand Down

0 comments on commit 3cdddbc

Please sign in to comment.