Ignore:
File:
1 edited

Legend:

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

    r20 r28  
    11#!/bin/bash
    2 # Version 5
    32
    43# Tries to start the 7dtd instance.
     
    1312        done
    1413
    15         if [ ! -e $STEAMCMD_ROOT ]; then
    16                 mkdir $STEAMCMD_ROOT
     14        if [ ! -e $SDTD_BASE/steamcmd ]; then
     15                mkdir $SDTD_BASE/steamcmd
    1716                cd /tmp
    1817                wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
    19                 tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
    20                 cd $STEAMCMD_ROOT
     18                tar -xvzf steamcmd_linux.tar.gz -C $SDTD_BASE/steamcmd
     19                cd $SDTD_BASE/steamcmd
    2120                ./steamcmd.sh +quit
    2221        fi
    2322
    24         cd $STEAMCMD_ROOT
     23        cd $SDTD_BASE/steamcmd
    2524
    2625        ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit
     
    3029        cp $SDTD_BASE/engine/Install/32bit/mono.dll $SDTD_BASE/engine/7DaysToDie_Data/Mono/
    3130        cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/
    32         cp $SDTD_BASE/msvcr100.dll $SDTD_BASE/engine/
    3331}
    3432
Note: See TracChangeset for help on using the changeset viewer.