Move this to the correct script.

This commit is contained in:
Daniel Ceregatti 2023-06-16 17:13:09 -07:00
parent 2d2cf6ba35
commit 2395f43024
2 changed files with 4 additions and 4 deletions

View file

@ -18,10 +18,6 @@ parameters="-config=${SERVER_CFG_DST} -port=${port} -freezecheck -BEpath=${SERVE
# Where mods are installed. # Where mods are installed.
WORKSHOP_DIR="/mods/${release_client_appid}" WORKSHOP_DIR="/mods/${release_client_appid}"
if [ ! -d ${WORKSHOP_DIR} ]
then
mkdir -p ${WORKSHOP_DIR}
fi
# Backups # Backups
BACKUP_DIR="${HOME}/backup" BACKUP_DIR="${HOME}/backup"

View file

@ -4,6 +4,10 @@ source dz-common
# An array to store Workshop items. Each element contains the mod's ID, name, and state (active or not). # An array to store Workshop items. Each element contains the mod's ID, name, and state (active or not).
WORKSHOP_DIR="/mods/${release_client_appid}" WORKSHOP_DIR="/mods/${release_client_appid}"
if [ ! -d ${WORKSHOP_DIR} ]
then
mkdir -p ${WORKSHOP_DIR}
fi
workshoplist="" workshoplist=""