Reverse condition

merge-requests/273/head
Chrysostomus 7 years ago
parent 6eb2fe8815
commit ad253a3671

@ -474,7 +474,7 @@ install_systemd_boot() {
clear
# Check if already installed. If so, just add entries
if ! $(arch_chroot "bootctl status" 2>&1 >/dev/null | grep -q "systemd-boot not installed"); then
if $(arch_chroot "bootctl status" 2>&1 >/dev/null | grep -q "systemd-boot not installed"); then
arch_chroot "bootctl --path=${UEFI_MOUNT} install" 2>$ERR
check_for_error "systemd-boot" $?
[[ $? -eq 0 ]] && touch /tmp/.newsystemdboot

Loading…
Cancel
Save