Ignore:
Timestamp:
Nov 13, 2023, 4:38:42 PM (12 months ago)
Author:
alloc
Message:

Scripts

File:
1 edited

Legend:

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

    r478 r479  
    9898               
    9999                echo
     100               
     101                if [ "$REMOTE" = "?" ]; then
     102                        echo "Could not fetch remote build information"
     103                        return
     104                fi
    100105               
    101106                if [ $REMOTE -gt $LOCAL ]; then
     
    135140        local LOCAL=$(getLocalEngineVersion)
    136141        local REMOTE=$(getRemoteBuildId $BRANCHNAME)
     142       
     143        if [ "$REMOTE" = "?" ]; then
     144                echo "Could not fetch remote build information, assuming update to be available"
     145                REMOTE=30123456
     146        fi
    137147
    138148        if [ "$FORCED" = "yes" -o $REMOTE -gt $LOCAL ]; then
Note: See TracChangeset for help on using the changeset viewer.