diff --git a/scripts/Arch/Software/GRUB/install.sh b/scripts/Arch/Software/GRUB/install.sh index b92d884b..c5c77c2a 100755 --- a/scripts/Arch/Software/GRUB/install.sh +++ b/scripts/Arch/Software/GRUB/install.sh @@ -1,5 +1,4 @@ #!/bin/bash -pushd "${BASH_SOURCE%/*}" > /dev/null; # Elevate script if [ ! "$UID" -eq 0 ] @@ -8,8 +7,9 @@ then else EFI_BOOT_DIR="${EFI_BOOT_DIR:-"/boot"}"; BOOTLOADER_ID=${BOOTLOADER_ID:-"Arch"}; + + pushd "${BASH_SOURCE%/*}" > /dev/null; pacman --noconfirm -Syu grub efibootmgr os-prober; . ../../../Common/Config/GRUB/setup.sh; + popd > /dev/null; fi; - -popd > /dev/null;