Update cbsh_arch.sh

This commit is contained in:
Cameron Miller 2021-12-03 12:38:42 +00:00
parent 9fc4d56a2e
commit c14d5142bc

View File

@ -55,7 +55,7 @@ addrepos() { \
echo "## Adding the CBSH repository to /etc/pacman.conf ##" echo "## Adding the CBSH repository to /etc/pacman.conf ##"
echo "####################################################" echo "####################################################"
grep -qxF "[cbsh-arch-repo]" /etc/pacman.conf || grep -qxF "[cbsh-arch-repo]" /etc/pacman.conf ||
(echo "[cbsh-arch-repo]"; echo "SigLevel = Required DatabaseOptional"; \ (echo "[cbsh-arch-repo]"; echo "SigLevel = Optional DatabaseOptional"; \
echo "Server = https://gitlab.com/cabooshyy/\$repo/-/raw/main/\$arch") | sudo tee -a /etc/pacman.conf echo "Server = https://gitlab.com/cabooshyy/\$repo/-/raw/main/\$arch") | sudo tee -a /etc/pacman.conf
} }
addrepos || err "Error adding the Repo to /etc/pacman.conf." addrepos || err "Error adding the Repo to /etc/pacman.conf."