From 685621c13df99d89513369f65ea4ecaa068e4a33 Mon Sep 17 00:00:00 2001 From: aartoni Date: Sun, 10 Sep 2023 12:14:47 +0200 Subject: [PATCH] Remove universe and community repositories --- static/larbs.sh | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/static/larbs.sh b/static/larbs.sh index 44d4fdd..656b3cc 100755 --- a/static/larbs.sh +++ b/static/larbs.sh @@ -84,25 +84,12 @@ refreshkeys() { ;; *) whiptail --infobox "Enabling Arch Repositories for more a more extensive software collection..." 7 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://mirrors.qontinuum.space/artixlinux-universe/\$arch -Server = https://mirror1.cl.netactuate.com/artix/universe/\$arch -Server = https://ftp.crifo.org/artix-universe/\$arch -Server = https://artix.sakamoto.pl/universe/\$arch" >>/etc/pacman.conf - pacman -Sy --noconfirm >/dev/null 2>&1 - 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 || - echo "[$repo] + grep -q "^\[extra\]" /etc/pacman.conf || + echo "[extra] Include = /etc/pacman.d/mirrorlist-arch" >>/etc/pacman.conf - done - pacman -Sy >/dev/null 2>&1 + pacman -Sy --noconfirm >/dev/null 2>&1 pacman-key --populate archlinux >/dev/null 2>&1 ;; esac