Skip to content

Commit c3da3ca

Browse files
authored
Merge pull request #533 from aartoni/fix/universe-repo
Reflect Artix repository structure change
2 parents 916e8a0 + 685621c commit c3da3ca

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

static/larbs.sh

+3-16
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,12 @@ refreshkeys() {
8484
;;
8585
*)
8686
whiptail --infobox "Enabling Arch Repositories for more a more extensive software collection..." 7 40
87-
if ! grep -q "^\[universe\]" /etc/pacman.conf; then
88-
echo "[universe]
89-
Server = https://universe.artixlinux.org/\$arch
90-
Server = https://mirror1.artixlinux.org/universe/\$arch
91-
Server = https://mirror.pascalpuffke.de/artix-universe/\$arch
92-
Server = https://mirrors.qontinuum.space/artixlinux-universe/\$arch
93-
Server = https://mirror1.cl.netactuate.com/artix/universe/\$arch
94-
Server = https://ftp.crifo.org/artix-universe/\$arch
95-
Server = https://artix.sakamoto.pl/universe/\$arch" >>/etc/pacman.conf
96-
pacman -Sy --noconfirm >/dev/null 2>&1
97-
fi
9887
pacman --noconfirm --needed -S \
9988
artix-keyring artix-archlinux-support >/dev/null 2>&1
100-
for repo in extra community; do
101-
grep -q "^\[$repo\]" /etc/pacman.conf ||
102-
echo "[$repo]
89+
grep -q "^\[extra\]" /etc/pacman.conf ||
90+
echo "[extra]
10391
Include = /etc/pacman.d/mirrorlist-arch" >>/etc/pacman.conf
104-
done
105-
pacman -Sy >/dev/null 2>&1
92+
pacman -Sy --noconfirm >/dev/null 2>&1
10693
pacman-key --populate archlinux >/dev/null 2>&1
10794
;;
10895
esac

0 commit comments

Comments
 (0)