mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[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.
This commit is contained in:
parent
32a1c84935
commit
9cdb6734bf
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue