This commit is contained in:
Luke Smith 2021-10-22 11:40:03 -04:00
parent f6beb58f41
commit 8a30c54cd4
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -73,7 +73,7 @@ refreshkeys() { \
dialog --infobox "Enabling Arch Repositories..." 4 40
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 ||
grep -q "^\[$repo\]" /etc/pacman.conf ||
echo "[$repo]
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
done