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

Commit

Permalink
Fixed reflector
Browse files Browse the repository at this point in the history
  • Loading branch information
Telmo Silva committed Jun 1, 2020
1 parent 37e0740 commit 4025e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion steps/step1.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
os.system("loadkeys br-abnt2")

print("Writing brazilian mirrors to Pacman's mirrorlist")
reflector --country Brazil --age 12 --sort rate --save /etc/pacman.d/mirrorlist
os.system("pacman -S reflector --noconfirm")
os.system("reflector --country Brazil --age 12 --sort rate --save /etc/pacman.d/mirrorlist")
#os.system("wget -qO- 'https://www.archlinux.org/mirrorlist/?country=BR&use_mirror_status=on' | sed 's/#S/S/g' | sed '/## Brazil/d' > /etc/pacman.d/mirrorlist")

print("Setting timezone to " + yellow("America/Sao_Paulo"))
Expand Down
2 changes: 1 addition & 1 deletion steps/step3.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
boot = "UEFI"

if(boot == "UEFI"):
use_refind = yes_no_dialog(f"Since you're on UEFI, you can opt for rEFInd instead of GRUB. Would you like to do that?")
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")
Expand Down

0 comments on commit 4025e15

Please sign in to comment.