Bugfixes from testing

This commit is contained in:
SteveTinkers 2021-11-17 18:28:47 -08:00
parent 2a6a17d3ad
commit a2d132f2e8
2 changed files with 1 additions and 4 deletions

View File

@ -242,14 +242,12 @@ if [ ${#PKGS_ARCH[@]} -eq 0 ]; then
for PKG in "${PKGS_ARCH_DEFAULT[@]}"; do for PKG in "${PKGS_ARCH_DEFAULT[@]}"; do
echo "INSTALLING ARCH DEFAULT PACKAGE: ${PKG}" echo "INSTALLING ARCH DEFAULT PACKAGE: ${PKG}"
pacman -S "$PKG" --noconfirm --needed pacman -S "$PKG" --noconfirm --needed
break
done done
else else
echo "installing arch user specified packages" echo "installing arch user specified packages"
for PKG in "${PKGS_ARCH[@]}"; do for PKG in "${PKGS_ARCH[@]}"; do
echo "INSTALLING ARCH USER SPECIFIED PACKAGE: ${PKG}" echo "INSTALLING ARCH USER SPECIFIED PACKAGE: ${PKG}"
pacman -S "$PKG" --noconfirm --needed pacman -S "$PKG" --noconfirm --needed
break
done done
fi fi

View File

@ -44,8 +44,7 @@ grub-mkconfig -o $grubfile
if [[ -s $grubfile ]]; then if [[ -s $grubfile ]]; then
cat $grubfile cat $grubfile
echo "$grubfile exists and not empty" echo "$grubfile exists (and not empty?)"
read -n 1 -s -r -p "Press any key to continue...or manually break script here."
else else
echo "" echo ""
echo "$grubfile doesn't exist or is empty. Is grub downloading correctly?". echo "$grubfile doesn't exist or is empty. Is grub downloading correctly?".