This commit is contained in:
2023-11-20 07:08:11 -06:00
parent ab5069deb9
commit 1118bdaa15

View File

@@ -17,12 +17,18 @@ else
fi
# ===================================================
# 02. Local script variables
# 02. Local script variables and checks
# ===================================================
export STEAMCMD_USER=steam
export LOCAL_STOCK_GAME="$HOME/stock/DayZ"
export LOCAL_STOCK_SERVER="$HOME/stock/DayZServer"
mkdir -p "$LOCAL_STOCK_GAME" "$LOCAL_STOCK_SERVER"
if [ "$USER" != "$STEAMCMD_USER" ] ; then
errmsg "Current user: '$USER' does not match '$STEAMCMD_USER'"
exit 1
fi
# ===================================================
# 03. Mount network drive
# ===================================================