call hasUEFI

This commit is contained in:
advaithm 2021-04-20 19:50:12 +05:30
parent 47202d9bf9
commit 264db25eef
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ def ask_for_a_timezone():
def ask_for_bootloader() -> str:
bootloader = "systemd-bootctl"
if hasUEFI==False:
if hasUEFI()==False:
bootloader="grub-install"
else:
bootloader_choice = input("Would you like to use Grub as a bootloader over systemd-boot [y/N] ").lower()