improve logic on test for no update
This commit is contained in:
parent
6dc05aafbc
commit
da12aa2d63
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ cat > "${NOVERSION_SET}" <<-EOFVERSION
|
||||||
EOFVERSION
|
EOFVERSION
|
||||||
|
|
||||||
# test for no version set or opt out for autoupdates
|
# test for no version set or opt out for autoupdates
|
||||||
if [[ -z "$VERSION" ]] || [[ "$VERSION"=="0" ]] || [ "$ADVANCED_DISABLEUPDATES" ]; then
|
if [ -z "$VERSION" -o "$VERSION" == "0" -o ! -z "$ADVANCED_DISABLEUPDATES" ]; then
|
||||||
echo "$(cat /tmp/no-version.nfo)"
|
echo "$(cat /tmp/no-version.nfo)"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue