Merge branch 'master' of github.com:LukeSmithxyz/larbs
This commit is contained in:
commit
ab931f7d77
1 changed files with 10 additions and 0 deletions
10
larbs.sh
10
larbs.sh
|
@ -63,6 +63,16 @@ refreshkeys() { \
|
|||
;;
|
||||
*)
|
||||
dialog --infobox "Enabling Arch Repositories..." 4 40
|
||||
if ! grep -q "^\[universe\]" /etc/pacman.conf; then
|
||||
echo "[universe]
|
||||
Server = https://universe.artixlinux.org/\$arch
|
||||
Server = https://mirror1.artixlinux.org/universe/\$arch
|
||||
Server = https://mirror.pascalpuffke.de/artix-universe/\$arch
|
||||
Server = https://artixlinux.qontinuum.space/artixlinux/universe/os/\$arch
|
||||
Server = https://mirror1.cl.netactuate.com/artix/universe/\$arch
|
||||
Server = https://ftp.crifo.org/artix-universe/" >> /etc/pacman.conf
|
||||
pacman -Sy
|
||||
fi
|
||||
pacman --noconfirm --needed -S artix-keyring artix-archlinux-support >/dev/null 2>&1
|
||||
for repo in extra community; do
|
||||
grep -q "^\[$repo\]" /etc/pacman.conf ||
|
||||
|
|
Loading…
Reference in a new issue