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
|
||||
cd /opt/syncthing/bin
|
||||
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
|
||||
cat <<EOF > /opt/syncthing/bin/version.txt
|
||||
$syncthingversion
|
||||
|
||||
Loading…
Reference in New Issue
Block a user