From 316ab80397c4c971fe47fd7eb8cf3c3ccdf81db2 Mon Sep 17 00:00:00 2001 From: tengel Date: Wed, 20 Mar 2024 11:32:48 -0500 Subject: [PATCH] add os-prober, fix VBOXGUEST check --- archmate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archmate.sh b/archmate.sh index da84eaa..ff367e4 100644 --- a/archmate.sh +++ b/archmate.sh @@ -54,7 +54,7 @@ GRUB_BIOS_DISK="/dev/sda" GRUB_UEFI_PART="/dev/sda1" # be careful changing this -PKG_CORE="grub linux-headers linux-lts linux-lts-headers" +PKG_CORE="grub linux-headers linux-lts linux-lts-headers os-prober" # can be tuned - includes all video drivers, etc. PKG_XORG="xorg xorg-drivers xorg-xinit xorg-server-utils xorg-twm xorg-xclock xorg-utils xterm alsa-utils gnu-free-fonts mesa ttf-dejavu ttf-liberation" @@ -219,7 +219,7 @@ if [[ ! -f /root/.archmate/stage-4.done ]]; then pacman -S --noconfirm ${PKG_XORG} [[ $? -ne 0 ]] && myexit "pacman error - exiting." - if [[ $VBOXGUEST ]]; then + if [[ $VBOXGUEST == true ]]; then echo "Installing Virtualbox guest..." pacman -S --noconfirm ${PKG_VBOX} [[ $? -ne 0 ]] && myexit "pacman error - exiting."