update sources

This commit is contained in:
tteckster 2023-01-27 02:01:45 -05:00 committed by GitHub
parent 8307bbe86c
commit 40ad663997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 12 deletions

View file

@ -90,9 +90,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Syncthing"
curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
cat <<EOF >/etc/apt/sources.list.d/syncthing.list
deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable
EOF
sh -c 'echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list'
$STD apt-get update
$STD apt-get install -y syncthing
$STD systemctl enable syncthing@root.service