implemented missing semicolon
This commit is contained in:
@@ -39,11 +39,12 @@ WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
ARCH="$(uname -m)"
|
||||
LATEST_RELEASE="$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/releases/latest | jq -r '.tag_name')"
|
||||
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer-x86_64
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/"$LATEST_RELEASE"/wolServer-x86_64
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer-arm
|
||||
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/"$LATEST_RELEASE"/wolServer-arm
|
||||
fi
|
||||
|
||||
chmod +x app/wolServer
|
||||
|
||||
Reference in New Issue
Block a user