add progressbar to localize

This commit is contained in:
Tobias Powalowski 2023-08-01 19:04:55 +02:00
parent 7d6dd53a6c
commit a4475edc43

View file

@ -70,13 +70,9 @@ _localize() {
sed -i -e "s:^#${_LOCALE}.UTF-8:${_LOCALE}.UTF-8:g" /etc/locale.gen
sleep 1 | _dialog --no-mouse --gauge "Setting locale to ${_LOCALE}.UTF-8..." 6 50 0
locale-gen &>/dev/null
sleep 1
sleep 1 | _dialog --no-mouse --gauge "Setting vconsole font to ${_FONT}..." 6 50 33
sleep 1
sleep 1 | _dialog --no-mouse --gauge "Setting keymap to ${_KEYMAP}..." 6 50 66
sleep 1
sleep 1 | _dialog --no-mouse --gauge "Localization completed successfully." 6 50 100
sleep 1
}
_check