diff --git a/larbs.sh b/larbs.sh index 9b94857..26c405c 100644 --- a/larbs.sh +++ b/larbs.sh @@ -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