Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Telmo Silva committed Jun 1, 2020
2 parents 05deba0 + bc7ab81 commit eb6ad67
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions steps/step3.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@
boot = "UEFI"

if(boot == "UEFI"):
use_refind = yes_no_dialog("Since you're on UEFI, you can opt for rEFInd instead of GRUB. Would you like to do that?")

if(use_refind):
os.system("pacman -S --noconfirm refind")
os.system("refind-install")
else:
os.system("pacman -S --noconfirm efibootmgr")
os.system("grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB")
# use_refind = yes_no_dialog("Since you're on UEFI, you can opt for rEFInd instead of GRUB. Would you like to do that?")

# if(use_refind):
# os.system("pacman -S --noconfirm refind")
# os.system("refind-install")
# else:
os.system("pacman -S --noconfirm efibootmgr")
os.system("grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB")
else:
print("In which disk should GRUB be installed?")
disk = select_disk()
Expand Down

0 comments on commit eb6ad67

Please sign in to comment.