summaryrefslogtreecommitdiff
path: root/zirless.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zirless.sh')
-rw-r--r--zirless.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/zirless.sh b/zirless.sh
index 6499d92..b6451d6 100644
--- a/zirless.sh
+++ b/zirless.sh
@@ -75,8 +75,8 @@ newperms() { # Set special sudoers settings for install (or after).
echo "$* #ZIRLESS" >> /etc/sudoers ;}
artixaddarchrepos() { # Adds the Arch repos to Artix Linux (some ZIRLESS packages require it)
- sudo -u "$name" pacman -S --noconfirm artix-archlinux-support archlinux-mirrorlist archlinux-keyring >/dev/null 2>&1 || exit 3
- grep -q '[extra]\|[community]' /etc/pacman.conf || sudo -u "$name" echo "
+ pacman -S --noconfirm artix-archlinux-support archlinux-mirrorlist archlinux-keyring >/dev/null 2>&1 || exit 3
+ grep -q '[extra]\|[community]' /etc/pacman.conf || echo "
[extra]
Include = /etc/pacman.d/mirrorlist-arch