Skip to content
Permalink
Browse files

Update install.py (#623)

* Update install.py

Add Antergos Repo and Staging (Commented) to the proper spot.

* Update install.py

Added to loop

* Update install.py

Character per line limit
  • Loading branch information...
Wyn10 authored and lots0logs committed Jun 21, 2016
1 parent abf19e0 commit 74daaeba55459e43f1bc4281d7690cb32353db75
Showing with 7 additions and 5 deletions.
  1. +7 −5 cnchi/installation/install.py
@@ -771,13 +771,15 @@ def update_pacman_conf():
if mode == "x86_64" and pacline == "#[multilib]\n":
pacman_file.write("[multilib]\n")
pacman_file.write("Include = /etc/pacman.d/mirrorlist\n")
elif pacline == "# after the header, and they will be used before the default mirrors.\n":
pacman_file.write("\n\n#[antergos-staging]\n")
pacman_file.write("#SigLevel = PackageRequired\n")
pacman_file.write("#Server = http://mirrors.antergos.com/$repo/$arch/\n")
pacman_file.write("\n[antergos]\n")
pacman_file.write("SigLevel = PackageRequired\n")
pacman_file.write("Include = /etc/pacman.d/antergos-mirrorlist\n")
else:
pacman_file.write(pacline)

# Add antergos repository
pacman_file.write("\n[antergos]\n")
pacman_file.write("SigLevel = PackageRequired\n")
pacman_file.write("Include = /etc/pacman.d/antergos-mirrorlist\n")
else:
logging.warning("Can't find pacman configuration file")

0 comments on commit 74daaeb

Please sign in to comment.
You can’t perform that action at this time.