Skip to content

Commit

Permalink
add syncthing install
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWolf-01 committed Feb 6, 2024
1 parent 2f327a0 commit 2386e71
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ rm_conda() {
rm -rf ~/miniforge3
}

syncthing () {
sudo mkdir -p /etc/apt/keyrings
sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
sudo apt-get update
sudo apt-get install syncthing
}

install_nodejs() {
sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
Expand Down

0 comments on commit 2386e71

Please sign in to comment.