From feed405e652b4813da3461cac4d39a098f77794c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 13 Jul 2023 23:22:32 +0200 Subject: [PATCH] Fix non-functioning script --- scripts/Arch/Software/GRUB/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;