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
|
#!/bin/bash
|
||||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
|
||||||
|
|
||||||
# Elevate script
|
# Elevate script
|
||||||
if [ ! "$UID" -eq 0 ]
|
if [ ! "$UID" -eq 0 ]
|
||||||
|
@ -8,8 +7,9 @@ then
|
||||||
else
|
else
|
||||||
EFI_BOOT_DIR="${EFI_BOOT_DIR:-"/boot"}";
|
EFI_BOOT_DIR="${EFI_BOOT_DIR:-"/boot"}";
|
||||||
BOOTLOADER_ID=${BOOTLOADER_ID:-"Arch"};
|
BOOTLOADER_ID=${BOOTLOADER_ID:-"Arch"};
|
||||||
|
|
||||||
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
pacman --noconfirm -Syu grub efibootmgr os-prober;
|
pacman --noconfirm -Syu grub efibootmgr os-prober;
|
||||||
. ../../../Common/Config/GRUB/setup.sh;
|
. ../../../Common/Config/GRUB/setup.sh;
|
||||||
|
popd > /dev/null;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
popd > /dev/null;
|
|
||||||
|
|
Loading…
Reference in a new issue