updates
This commit is contained in:
25
modserver/update_mods.sh
Normal file
25
modserver/update_mods.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# shellcheck disable=1090,2034
|
||||
|
||||
# ===================================================
|
||||
# 01. Attempt to load global DayZ values
|
||||
# ===================================================
|
||||
echo "Starting, attempting to load globals.sh"
|
||||
|
||||
GLOBALS_FILE="$PWD/globals.sh"
|
||||
if [ -e "$GLOBALS_FILE" ] ; then
|
||||
chmod +x "$GLOBALS_FILE"
|
||||
. "$GLOBALS_FILE"
|
||||
else
|
||||
>&2 echo "Could not load: $GLOBALS_FILE"
|
||||
exit 1
|
||||
fi
|
||||
# ===================================================
|
||||
|
||||
######### LOCAL SCRIPT VARS ###############
|
||||
LOCAL_MODS_DIR="$HOME/steam_data/steamapps/workshop/content/$DAYZ_GAME_ID"
|
||||
REMOTE_MAPS="/mnt/dayz/stock/maps"
|
||||
REMOTE_MODS="/mnt/dayz/mods"
|
||||
###########################################
|
||||
|
||||
Reference in New Issue
Block a user