rework no-grub-efi package warning

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-11-06 17:58:47 +01:00
parent f3581c94fe
commit c502021f3a

View File

@ -228,8 +228,9 @@ check_grub_efi_package() {
if [ -f /usr/share/doc/grub-efi-amd64/changelog.Debian.gz ]; then if [ -f /usr/share/doc/grub-efi-amd64/changelog.Debian.gz ]; then
return return
fi fi
warn "uefi-booted system, without grub-efi-amd64 package - /boot/efi will not be updated"
warn "System booted in EFI-mode but 'grub-efi-amd64' meta-package not installed!"
warn "Install 'grub-efi-amd64' to get updates."
} }
set -- $DEB_MAINT_PARAMS set -- $DEB_MAINT_PARAMS