implemented missing semicolon
This commit is contained in:
@@ -39,11 +39,12 @@ WantedBy=multi-user.target
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
ARCH="$(uname -m)"
|
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
|
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
|
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
|
fi
|
||||||
|
|
||||||
chmod +x app/wolServer
|
chmod +x app/wolServer
|
||||||
|
|||||||
Reference in New Issue
Block a user