diff --git a/installer b/installer index 875de31..99f93f1 100755 --- a/installer +++ b/installer @@ -6,7 +6,7 @@ # AIF, Calamares, and the Arch Wiki.. Credit where credit is due # shellcheck disable=SC2086,SC2046,SC2254,SC2164 -VER=2.1.55 +VER=2.1.56 # default values { @@ -774,7 +774,7 @@ select_mirrors() c="${COUNTRIES[$i]}" fi done - yesno "Mirror Countries" "\nConfirm the following countries: $c" && break + yesno "Mirror Countries" "\nConfirm the following countries: $c\n" && break done for i in $codes; do @@ -2046,6 +2046,8 @@ install_packages() # remove the packages we don't want on the installed system [[ ${rmpkg[*]} ]] && chrun "pacman -Rnsc ${rmpkg[*]} --noconfirm" + + [[ -e $MNT/boot/${UCODE}.img ]] && rm -rf "$MNT/boot/${UCODE}.img" # install crucial packages first to avoid issues, reinstalling iputils fixes network issues for non-root users chrun "pacman -S $KERNEL $UCODE iputils --noconfirm" 2> "$ERR" 2>&1