diff options
author | zachir <zachir@librem.one> | 2022-01-25 03:07:02 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-01-25 03:07:02 -0600 |
commit | 78665a0030be156d431b1bce777eee3eb8e8d7ae (patch) | |
tree | 8cf67260415a47b6aecf9077f1738caea7ab1e5a | |
parent | 77fc751bc47f164608562c98d9cbc476ee9932a4 (diff) |
zirless.sh: fix issue with adding arch repos
-rw-r--r-- | zirless.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |