From b4d04ee33ecdccf64a2faf3fbe106dd00a82d326 Mon Sep 17 00:00:00 2001 From: Le0xFF <43521247+Le0xFF@users.noreply.github.com> Date: Sat, 30 Jul 2022 18:52:32 +0200 Subject: [PATCH] Fix if condition --- vli.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vli.sh b/vli.sh index 2d468d5..a63d67b 100755 --- a/vli.sh +++ b/vli.sh @@ -292,7 +292,7 @@ function finish_chroot { while true ; do header_fc - if [[ -n "\$user_keyboard_layout" ]] + if [[ -n "\$user_keyboard_layout" ]] ; then 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 break @@ -1436,6 +1436,8 @@ function install_base_system_and_chroot { cp /var/db/xbps/keys/* /mnt/var/db/xbps/keys/ echo -e -n "\nInstalling base system...\n\n" + read -n 1 -r -p "[Press any key to continue...]" key + echo XBPS_ARCH="$ARCH" xbps-install -Suy xbps XBPS_ARCH="$ARCH" xbps-install -Svy -r /mnt -R "$REPO" base-system btrfs-progs cryptsetup grub-x86_64-efi lvm2 grub-btrfs grub-btrfs-runit NetworkManager bash-completion nano