implemented missing semicolon

This commit is contained in:
2024-12-17 13:35:36 +02:00
parent e47a1f3772
commit d6ec733c0b

View File

@@ -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