summaryrefslogtreecommitdiff
path: root/zirless.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zirless.sh')
-rw-r--r--zirless.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/zirless.sh b/zirless.sh
index 97cecbb..3f94d22 100644
--- a/zirless.sh
+++ b/zirless.sh
@@ -274,11 +274,11 @@ sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf
manualinstall yay-bin || error "Failed to install AUR helper."
-grep -q '^[lib32]' /etc/pacman.conf || artixaddlib32repo || error "Failed to add lib32 repo"
+grep -q '^\[lib32\]' /etc/pacman.conf || artixaddlib32repo || error "Failed to add lib32 repo"
-grep -q '^[universe]' /etc/pacman.conf || artixadduniverserepo || error "Failed to add universe repo"
+grep -q '^\[universe\]' /etc/pacman.conf || artixadduniverserepo || error "Failed to add universe repo"
-grep -q '^[extra]' /etc/pacman.conf || artixaddarchrepos || error "Failed to add Arch Linux repos."
+grep -q '^\[extra\]' /etc/pacman.conf || artixaddarchrepos || error "Failed to add Arch Linux repos."
refreshkeys || error "Error automatically refreshing Arch keyring. Consider doing so manually."