Update syncthing-install.sh (#2066)

Fix "301 Moved Permanently" for curl
This commit is contained in:
efr2et 2023-11-17 16:35:23 +02:00 committed by GitHub
parent b8222e26fc
commit f2aed7d532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ $STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_info "Installing Syncthing"
curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
curl -sL -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
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