Changeset 28 for scripts/usr


Ignore:
Timestamp:
May 27, 2014, 11:25:14 AM (10 years ago)
Author:
alloc
Message:

SteamCMD within SDTD_BASE (still V.8)

File:
1 edited

Legend:

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

    r23 r28  
    1212        done
    1313
    14         if [ ! -e $STEAMCMD_ROOT ]; then
    15                 mkdir $STEAMCMD_ROOT
     14        if [ ! -e $SDTD_BASE/steamcmd ]; then
     15                mkdir $SDTD_BASE/steamcmd
    1616                cd /tmp
    1717                wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
    18                 tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
    19                 cd $STEAMCMD_ROOT
     18                tar -xvzf steamcmd_linux.tar.gz -C $SDTD_BASE/steamcmd
     19                cd $SDTD_BASE/steamcmd
    2020                ./steamcmd.sh +quit
    2121        fi
    2222
    23         cd $STEAMCMD_ROOT
     23        cd $SDTD_BASE/steamcmd
    2424
    2525        ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit
Note: See TracChangeset for help on using the changeset viewer.