Put the condition on a single line for prettiness sake

This commit is contained in:
Chrysostomus 2020-11-06 21:45:01 +02:00
parent 3731dfb146
commit b7cc4860e0

View File

@ -146,8 +146,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
if partition["mountPoint"] == "/" and "luksMapperName" in partition:
encrypt_hook = True
if (partition["mountPoint"] == "/boot"
and "luksMapperName" not in partition):
if (partition["mountPoint"] == "/boot" and "luksMapperName" not in partition):
unencrypted_separate_boot = True
if partition["mountPoint"] == "/usr":