From 78665a0030be156d431b1bce777eee3eb8e8d7ae Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 25 Jan 2022 03:07:02 -0600 Subject: zirless.sh: fix issue with adding arch repos --- zirless.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zirless.sh') 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 -- cgit v1.2.3