From 1fe2e2bbe0867934b9c8bd56e51e2ae7a0263e48 Mon Sep 17 00:00:00 2001 From: efr2et Date: Fri, 17 Nov 2023 15:49:05 +0200 Subject: [PATCH] Update syncthing-install.sh 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