fix generate locales

This commit is contained in:
Tobias Powalowski 2022-11-29 10:53:16 +01:00
parent f8d536b893
commit d1527d5014
2 changed files with 2 additions and 2 deletions

View file

@ -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

View 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() {