From f2aed7d532d04fa29edf16c32c9329bc4398e3d5 Mon Sep 17 00:00:00 2001 From: efr2et Date: Fri, 17 Nov 2023 16:35:23 +0200 Subject: [PATCH] Update syncthing-install.sh (#2066) Fix "301 Moved Permanently" for curl --- install/syncthing-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/syncthing-install.sh b/install/syncthing-install.sh index 3e8eef08..6fe0f10a 100644 --- a/install/syncthing-install.sh +++ b/install/syncthing-install.sh @@ -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