Ignore:
Timestamp:
May 15, 2014, 8:38:37 PM (11 years ago)
Author:
alloc
Message:

Fix #1, #2, #3, #5; Refs #4, #6: WD works for save path, not for some logs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/bin/7dtd-update.sh

    r1 r9  
    11#!/bin/bash
    2 . /etc/7dtd.conf
     2. /usr/local/bin/7dtd-common.sh
     3checkRootLoadConf
     4
     5for I in $SDTD_BASE/instances/*; do
     6        ins=`basename $I`
     7        run=$(isRunning $ins)
     8        if [ $run -eq 1 ]; then
     9                echo "At least one instance is still running."
     10                echo "Before updating the engine please stop all instances!"
     11                exit 1
     12        fi
     13done
    314
    415if [ ! -e $STEAMCMD_ROOT ]; then
     
    1324cd $STEAMCMD_ROOT
    1425
    15 ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_ROOT +app_update 251570 validate +quit
     26./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_ROOT "+app_update 251570" validate +quit
    1627chown $SDTD_USER.$SDTD_GROUP -R $SDTD_ROOT
    1728
     
    1930cp $SDTD_ROOT/Install/32bit/mono.dll $SDTD_ROOT/7DaysToDie_Data/Mono/
    2031cp $SDTD_ROOT/Install/32bit/SteamworksManaged.dll $SDTD_ROOT/7DaysToDie_Data/Managed/
    21 cp $SDTD_ROOT/../msvcr100.dll $SDTD_ROOT/
     32cp $SDTD_BASE/msvcr100.dll $SDTD_ROOT/
Note: See TracChangeset for help on using the changeset viewer.