forked from mirrors/openup
Simplify the update check.
This commit is contained in:
parent
e30c78e50e
commit
eeee076cca
1 changed files with 5 additions and 7 deletions
2
openup
2
openup
|
|
@ -133,14 +133,12 @@ check_openupd() {
|
|||
_N=$(eval ${_CMD}) || exit 1
|
||||
fi
|
||||
|
||||
if [ -n "${_N}" -o -n "${dryrun}" ]; then
|
||||
if [ "${_OPENUP_VERSION}" -lt "${_N}" ]; then
|
||||
pr_error "New openup release (version ${_N}) is available; please update with:"
|
||||
pr_error "ftp -Vo $(readlink -f $0) ${OPENUP_URL}"
|
||||
pr_error "Exiting"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
update_binpatches() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue