From be28b0404bf73ad549aad0199089335fb73f0c38 Mon Sep 17 00:00:00 2001 From: Andrew Marchukov Date: Sat, 24 Apr 2021 12:25:02 +0300 Subject: [PATCH] Update restart-ins.sh --- AutoUpdater/restart-ins.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoUpdater/restart-ins.sh b/AutoUpdater/restart-ins.sh index 5bf83c5..d65aa93 100644 --- a/AutoUpdater/restart-ins.sh +++ b/AutoUpdater/restart-ins.sh @@ -1,8 +1,8 @@ #!/bin/bash -REMOTEAPPVER=$(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public') +LOCALAPPVER=$(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public') EXITSTATUS=$? if [ $EXITSTATUS -eq 0 ]; then - echo $REMOTEAPPVER > /opt/sandstorm-server.version + echo $LOCALAPPVER > /opt/sandstorm-server.version docker stop sandstorm-modmap docker rm sandstorm-modmap docker run -d --restart always --env-file /home/user/coop-modmap/modmap.env \