[initcpiocfg] fix syntax

This commit is contained in:
Philip Müller 2018-09-26 21:41:20 +02:00
parent 5c6ae3f1b0
commit 8814ebd8a9

View File

@ -156,7 +156,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
elif (btrfs == "yes"
and cpu['proc0']['vendor_id'].lower() == "genuineintel"):
modules.append("crc32c-intel")
else and not exists(join(self.root, "usr/bin/grub-set-bootflag")):
elif not exists(join(self.root, "usr/bin/grub-set-bootflag")):
hooks.append("fsck")
write_mkinitcpio_lines(hooks, modules, files, root_mount_point)