source: scripts/usr/local/bin/7dtd-update.sh@ 1

Last change on this file since 1 was 1, checked in by alloc, 11 years ago

Initial commit

  • Property svn:executable set to *
File size: 719 bytes
Line 
1#!/bin/bash
2. /etc/7dtd.conf
3
4if [ ! -e $STEAMCMD_ROOT ]; then
5 mkdir $STEAMCMD_ROOT
6 cd /tmp
7 wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
8 tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
9 cd $STEAMCMD_ROOT
10 ./steamcmd.sh +quit
11fi
12
13cd $STEAMCMD_ROOT
14
15./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_ROOT +app_update 251570 validate +quit
16chown $SDTD_USER.$SDTD_GROUP -R $SDTD_ROOT
17
18cp $SDTD_ROOT/Install/32bit/7DaysToDie.exe $SDTD_ROOT/
19cp $SDTD_ROOT/Install/32bit/mono.dll $SDTD_ROOT/7DaysToDie_Data/Mono/
20cp $SDTD_ROOT/Install/32bit/SteamworksManaged.dll $SDTD_ROOT/7DaysToDie_Data/Managed/
21cp $SDTD_ROOT/../msvcr100.dll $SDTD_ROOT/
Note: See TracBrowser for help on using the repository browser.