Update README.org

This commit is contained in:
Cameron Miller 2021-12-03 12:27:46 +00:00
parent 828b0e37e0
commit 9fc4d56a2e

View File

@ -152,13 +152,14 @@ welcome || err "User choose to exit."
#+end_src
* Adding the CBSH Repos to your system.
Right now nothing is signed as i'm still testing stuff between my work PC and home PC and dealing with two seperate gpg keys is a pain so for now everything is unsigned, once everything is working properly i will be signing everything.
#+begin_src bash
addrepos() { \
echo "####################################################"
echo "## Adding the CBSH repository to /etc/pacman.conf ##"
echo "####################################################"
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
}
addrepos || err "Error adding the Repo to /etc/pacman.conf."