Changeset 87 for scripts/usr/local/lib/7dtd/commands/updateengine.sh
- Timestamp:
- Jul 19, 2014, 1:53:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r80 r87 42 42 local LOCAL=$(getLocalEngineVersion) 43 43 local REMOTE=$(getRemoteEngineVersion) 44 local LOCAL_SUPPORTED_BUILD=$(cat /usr/local/lib/7dtd/VERSION | grep "DediBuild" | cut -d\ -f2) 44 45 45 46 if [ "$FORCED" = "yes" -o $REMOTE -gt $LOCAL ]; then … … 48 49 echo "Available buildid: $REMOTE" 49 50 echo 50 51 52 if [ "$LOCAL_SUPPORTED_BUILD" != "$REMOTE" ]; then 53 echo "WARNING!!! The currently installed version of the scripts do not support the newer dedicated server build!" 54 echo "If you continue you might not be able to start the server." 55 echo "Please wait for an updated release of the scripts or continue at your own risk." 56 echo 57 fi 58 51 59 while : ; do 52 60 local CONTINUE … … 70 78 71 79 cp $SDTD_BASE/linux_files/engine/* $SDTD_BASE/engine/ -R 80 cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/7DaysToDie_Data/Managed/ 72 81 cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/ 73 82 74 83 chown $SDTD_USER.$SDTD_GROUP -R $SDTD_BASE/engine 84 85 if [ "$LOCAL_SUPPORTED_BUILD" != "$REMOTE" ]; then 86 echo 87 echo "Also update the scripts as soon as there is a new release for this dedicated server build." 88 echo 89 fi 75 90 else 76 91 echo "Engine is already at the newest build (local: $LOCAL, remote: $REMOTE)."
Note:
See TracChangeset
for help on using the changeset viewer.