diff --git a/larbs.sh b/larbs.sh index b6726aa..6dbd1d4 100755 --- a/larbs.sh +++ b/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 ||