Put the condition on a single line for prettiness sake
This commit is contained in:
parent
3731dfb146
commit
b7cc4860e0
@ -146,8 +146,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
|
|||||||
if partition["mountPoint"] == "/" and "luksMapperName" in partition:
|
if partition["mountPoint"] == "/" and "luksMapperName" in partition:
|
||||||
encrypt_hook = True
|
encrypt_hook = True
|
||||||
|
|
||||||
if (partition["mountPoint"] == "/boot"
|
if (partition["mountPoint"] == "/boot" and "luksMapperName" not in partition):
|
||||||
and "luksMapperName" not in partition):
|
|
||||||
unencrypted_separate_boot = True
|
unencrypted_separate_boot = True
|
||||||
|
|
||||||
if partition["mountPoint"] == "/usr":
|
if partition["mountPoint"] == "/usr":
|
||||||
|
Loading…
Reference in New Issue
Block a user