Fix non-functioning script

This commit is contained in:
Manuel Thalmann 2023-07-13 23:22:32 +02:00
parent 6da7cc3153
commit feed405e65

View file

@ -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;