From 8a30c54cd43f436362d1b1d34bc8820d16dc6284 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 22 Oct 2021 11:40:03 -0400 Subject: [PATCH] regex fix #398 --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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