diff --git a/openup b/openup index b476db8..b27680a 100755 --- a/openup +++ b/openup @@ -215,15 +215,17 @@ done check_openupd -if [ -z "${checkmode}" ]; then +if [ -n "${nosig}" -o -n "${dryrun}" -a -n "${dryrun}" ]; then + usage +fi + +if [ "${checkmode}" ]; then + check_vuxml + +else if [ -z "${nosig}" ]; then get_cert; fi update_binpatches update_pkg -else - if [ "${nosig}" -o "${dryrun}" ]; then - usage - fi - check_vuxml fi rm -f ${_TMPDIR}/.openup-*