Skip to content

Commit

Permalink
if target manifest is set and not equal to the current manifest, then…
Browse files Browse the repository at this point in the history
… show "game not at target version"
  • Loading branch information
thijsvanloef committed Feb 19, 2024
1 parent 2999762 commit c633743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helper_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ UpdateRequired() {
return 0
fi

if [ "$CURRENT_MANIFEST" != "${TARGET_MANIFEST_ID}" ]; then
if [ -n "${TARGET_MANIFEST_ID}" ] && [ "$CURRENT_MANIFEST" != "${TARGET_MANIFEST_ID}" ]; then
LogInfo "Game not at target version. Target Version: ${TARGET_MANIFEST_ID}"
return 0
fi
Expand Down

0 comments on commit c633743

Please sign in to comment.