regex fix #398
This commit is contained in:
parent
f6beb58f41
commit
8a30c54cd4
1 changed files with 1 additions and 1 deletions
2
larbs.sh
2
larbs.sh
|
@ -73,7 +73,7 @@ refreshkeys() { \
|
||||||
dialog --infobox "Enabling Arch Repositories..." 4 40
|
dialog --infobox "Enabling Arch Repositories..." 4 40
|
||||||
pacman --noconfirm --needed -S artix-keyring artix-archlinux-support >/dev/null 2>&1
|
pacman --noconfirm --needed -S artix-keyring artix-archlinux-support >/dev/null 2>&1
|
||||||
for repo in extra community; do
|
for repo in extra community; do
|
||||||
grep -q "^[$repo]" /etc/pacman.conf ||
|
grep -q "^\[$repo\]" /etc/pacman.conf ||
|
||||||
echo "[$repo]
|
echo "[$repo]
|
||||||
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
|
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue