Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/updateengine.sh

    r28 r20  
    11#!/bin/bash
     2# Version 5
    23
    34# Tries to start the 7dtd instance.
     
    1213        done
    1314
    14         if [ ! -e $SDTD_BASE/steamcmd ]; then
    15                 mkdir $SDTD_BASE/steamcmd
     15        if [ ! -e $STEAMCMD_ROOT ]; then
     16                mkdir $STEAMCMD_ROOT
    1617                cd /tmp
    1718                wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
    18                 tar -xvzf steamcmd_linux.tar.gz -C $SDTD_BASE/steamcmd
    19                 cd $SDTD_BASE/steamcmd
     19                tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
     20                cd $STEAMCMD_ROOT
    2021                ./steamcmd.sh +quit
    2122        fi
    2223
    23         cd $SDTD_BASE/steamcmd
     24        cd $STEAMCMD_ROOT
    2425
    2526        ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit
     
    2930        cp $SDTD_BASE/engine/Install/32bit/mono.dll $SDTD_BASE/engine/7DaysToDie_Data/Mono/
    3031        cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/
     32        cp $SDTD_BASE/msvcr100.dll $SDTD_BASE/engine/
    3133}
    3234
Note: See TracChangeset for help on using the changeset viewer.