put locale_gen running into function

This commit is contained in:
Tobias Powalowski 2022-11-26 11:32:23 +01:00
parent c8ffc05640
commit 32cfe52fb8
2 changed files with 7 additions and 3 deletions

View file

@ -145,9 +145,7 @@ configure_system() {
## POSTPROCESSING ##
# /etc/initcpio.conf
run_mkinitcpio
DIALOG --infobox "Rebuilding glibc locales ..." 3 40
locale_gen
sleep 1
run_locale_gen
## END POSTPROCESSING ##
NEXTITEM="7"
fi

View file

@ -93,3 +93,9 @@ run_mkinitcpio() {
chroot_umount
sleep 1
}
run_locale_gen() {
DIALOG --infobox "Rebuilding glibc locales ..." 3 40
locale_gen
sleep 1
}