aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 8a15462..a088d7e 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -651,15 +651,15 @@ if [ "$grub" == "y" ]; then
grub_arch="$arch"
fi
- if [ "$secure_boot" == "y" ]; then
- grub_arch="${grub_arch}-signed"
- fi
-
if [ "$uefi_update_nvram" == "n" ]; then
grub_uefi_nvram="--no-nvram"
fi
- $APT_INSTALL grub-efi-${arch} -y
+ if [ "$secure_boot" == "y" ]; then
+ $APT_INSTALL grub-efi-${arch}-signed -y
+ else
+ $APT_INSTALL grub-efi-${arch} -y
+ fi
# Make UEFI partition available
hydra_sudo_run mkdir $WORK/boot/efi