Changeset 48
- Timestamp:
- Jun 5, 2014, 11:56:22 PM (11 years ago)
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
bootstrapper/bootstrap.sh
r44 r48 1 1 #!/bin/bash 2 # Version 1 2 VERSION=2 3 3 4 4 if [ `id -u` -ne 0 ]; then … … 31 31 32 32 showHelp() { 33 echo "7dtd bootstrapper version $VERSION" 34 echo 33 35 echo "Usage: ./bootstrap.sh [-h] [-c] -i" 34 36 echo "Parameters:" -
bundle_creation/makefile
r29 r48 1 ALL: CONTENTS ARCHIVE 2 @echo ALL DONE 1 HOST=178.63.97.203 2 PORT=51010 3 SERVERPATH=/srv/www/illy.bz/http/fi/7dtd/ 3 4 4 ARCHIVE: 5 VERSIONFILE=../scripts/usr/local/lib/7dtd/VERSION 6 VERSION=$(shell cat ${VERSIONFILE} | grep "Version" | cut -d\ -f2) 7 ARCHIVENAME=management_scripts_v${VERSION}.tar.gz 8 9 build: CONTENTS ${ARCHIVENAME} 10 @echo Bundle built successfully 11 12 all: build upload 13 @echo Bundle built and uploaded 14 15 upload: ${ARCHIVENAME} 16 @echo Uploading files... 17 @scp -P ${PORT} ${ARCHIVENAME} ${VERSIONFILE} ${HOST}:${SERVERPATH} 18 @ssh -p ${PORT} ${HOST} "cd ${SERVERPATH}; rm -f management_scripts.tar.gz; ln -s ${ARCHIVENAME} management_scripts.tar.gz" 19 20 ${ARCHIVENAME}: CONTENTS 5 21 @echo Creating archive... 6 @tar -czf management_scripts_v`cat usr/local/lib/7dtd/VERSION | grep "version" | cut -d\ -f3`.tar.gzetc home usr22 @tar -czf ${ARCHIVENAME} etc home usr 7 23 8 24 CONTENTS: SCRIPTS SSD … … 20 36 clean: 21 37 @echo Cleaning intermediate stuff... 22 -@find * -type d -exec rm -R {} \; 2>/dev/null23 @echo "Ignore that error ;)" 38 @rm -Rf usr home etc ${ARCHIVENAME} 39 -
scripts/usr/local/lib/7dtd/VERSION
r47 r48 1 Current version: 122 Last edit: 2014-06-031 Version: 12 2 Release: 2014-06-03 -
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r35 r48 1 1 #!/bin/bash 2 2 3 # Tries to start the 7dtd instance.3 # Downloads SteamCMD, downloads/updates the 7dtd engine 4 4 5 5 sdtdCommandUpdateengine() {
Note:
See TracChangeset
for help on using the changeset viewer.