1 2 3
if bootctl is-installed >/dev/null 2>&1 ; then bootctl update || echo "** WARNING: systemd-boot-efi install failed" fi