Cosmetic changes and fix colours in chroot.sh script

This commit is contained in:
Le0xFF 2022-07-30 19:05:26 +02:00
parent f6eb0719e4
commit 0f69b0afb2

3
vli.sh
View File

@ -293,8 +293,9 @@ function finish_chroot {
while true ; do while true ; do
header_fc header_fc
if [[ -n "\$user_keyboard_layout" ]] ; then if [[ -n "\$user_keyboard_layout" ]] ; then
echo -e -n "\nSetting \&{BLUE_LIGHT}\$user_keyboard_layout\${NORMAL} keyboard layout in /etc/rc.conf...\n" echo -e -n "\nSetting \${BLUE_LIGHT}\$user_keyboard_layout\${NORMAL} keyboard layout in /etc/rc.conf...\n"
sed -i "/#KEYMAP=/s/.*/KEYMAP=\"\$user_keyboard_layout\"/" /etc/rc.conf sed -i "/#KEYMAP=/s/.*/KEYMAP=\"\$user_keyboard_layout\"/" /etc/rc.conf
clear
break break
else else
echo -e -n "\nSetting \${BLUE_LIGHT}keyboard layout\${NORMAL} in /etc/rc.conf.\n\nPress any key to list all the keyboard layouts.\nMove with arrow keys and press \"q\" to exit the list." echo -e -n "\nSetting \${BLUE_LIGHT}keyboard layout\${NORMAL} in /etc/rc.conf.\n\nPress any key to list all the keyboard layouts.\nMove with arrow keys and press \"q\" to exit the list."