mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix generate locales
This commit is contained in:
parent
f8d536b893
commit
d1527d5014
2 changed files with 2 additions and 2 deletions
|
@ -137,6 +137,7 @@ configure_system() {
|
|||
elif [[ "${FILE}" = "/etc/locale.gen" ]]; then # non-file
|
||||
set_locale
|
||||
${EDITOR} "${DESTDIR}""${FILE}"
|
||||
run_locale_gen
|
||||
elif [[ "${FILE}" = "Root-Password" ]]; then # non-file
|
||||
set_password
|
||||
else #regular file
|
||||
|
|
|
@ -59,11 +59,10 @@ set_locale() {
|
|||
SET_LOCALE="1"
|
||||
sleep 2
|
||||
_auto_set_locale
|
||||
run_locale_gen
|
||||
else
|
||||
_auto_set_locale
|
||||
${EDITOR} "${DESTDIR}""${FILE}"
|
||||
fi
|
||||
run_locale_gen
|
||||
}
|
||||
|
||||
set_password() {
|
||||
|
|
Loading…
Reference in a new issue