[packages] If locale is empty, pretend it is 'en'.

- Otherwise packages like vi-$LOCALE will be retained in the
   package list, which will cause install problems.
main
Adriaan de Groot 8 years ago
parent 32a1c84935
commit 9cdb6734bf

@ -318,7 +318,10 @@ def subst_locale(plist):
"""
locale = libcalamares.globalstorage.value("locale")
if not locale:
return plist
# It is possible to skip the locale-setting entirely.
# Then pretend it is "en", so that {LOCALE}-decorated
# package names are removed from the list.
locale = "en"
ret = []
for packagedata in plist:

Loading…
Cancel
Save