Add [universe] repo for artix-archlinux-support

This commit is contained in:
hs-J 2022-06-21 22:53:12 +10:00
parent 8fcf33ad1d
commit b5cfda65ae

View file

@ -71,6 +71,16 @@ refreshkeys() { \
;; ;;
*) *)
dialog --infobox "Enabling Arch Repositories..." 4 40 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 pacman --noconfirm --needed -S artix-keyring artix-archlinux-support >/dev/null 2>&1
for repo in extra community; do for repo in extra community; do
grep -q "^\[$repo\]" /etc/pacman.conf || grep -q "^\[$repo\]" /etc/pacman.conf ||