Fix non-functioning script
This commit is contained in:
parent
6da7cc3153
commit
feed405e65
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue