Remove unnecessary script argument

This commit is contained in:
Manuel Thalmann 2024-03-09 12:23:26 +01:00
parent 868477cf23
commit 3522b560d7

View file

@ -8,7 +8,7 @@ then
sudo \ sudo \
EFI_BOOT_DIR="${EFI_BOOT_DIR}" \ EFI_BOOT_DIR="${EFI_BOOT_DIR}" \
BOOTLOADER_ID="${BOOTLOADER_ID}" \ BOOTLOADER_ID="${BOOTLOADER_ID}" \
bash "$BASH_SOURCE" "$USER"; bash "$BASH_SOURCE";
else else
sed -i "s/#\(GRUB_DISABLE_OS_PROBER\)/\1/" /etc/default/grub; sed -i "s/#\(GRUB_DISABLE_OS_PROBER\)/\1/" /etc/default/grub;
grub-install --target=x86_64-efi --efi-directory="$EFI_BOOT_DIR" --bootloader-id="$BOOTLOADER_ID"; grub-install --target=x86_64-efi --efi-directory="$EFI_BOOT_DIR" --bootloader-id="$BOOTLOADER_ID";