Fixed more of syncthing install script
This commit is contained in:
parent
9fcc0d2e10
commit
15e98dc461
@ -34,7 +34,7 @@ mkdir /opt/syncthing/bin/current
|
|||||||
# Get Syncthing and setup
|
# Get Syncthing and setup
|
||||||
cd /opt/syncthing/bin
|
cd /opt/syncthing/bin
|
||||||
wget https://github.com/syncthing/syncthing/releases/download/$(echo $syncthingversion)/syncthing-linux-amd64-$(echo $syncthingversion).tar.gz
|
wget https://github.com/syncthing/syncthing/releases/download/$(echo $syncthingversion)/syncthing-linux-amd64-$(echo $syncthingversion).tar.gz
|
||||||
untar syncthing-linux-amd64-$syncthingversion.tar.gz
|
tar -xvf syncthing-linux-amd64-$syncthingversion.tar.gz
|
||||||
cp -r syncthing-linux-amd64-$syncthingversion/* /opt/syncthing/bin/current
|
cp -r syncthing-linux-amd64-$syncthingversion/* /opt/syncthing/bin/current
|
||||||
cat <<EOF > /opt/syncthing/bin/version.txt
|
cat <<EOF > /opt/syncthing/bin/version.txt
|
||||||
$syncthingversion
|
$syncthingversion
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user