diff --git a/openup b/openup index 96e5ec7..962a3b1 100755 --- a/openup +++ b/openup @@ -112,7 +112,7 @@ update_self() { fi _N=$(grep -Eo '^OPENUP_VERSION=.*' ${TMPUPD} | awk -F '=' '{ print $2 }') - [[ -n "${_N}" ]] && \ + if [ -z "${DRYRUN}" -a -n "${_N}" ]; then if [ "${OPENUP_VERSION}" -lt "${_N}" ]; then print3 "Updating openup(8) from version ${OPENUP_VERSION} to version ${_N}" _CMD="cat ${TMPUPD} >${MEESA}" @@ -125,6 +125,7 @@ update_self() { eval ${_CMD} exit $rtn fi + fi } update_binpatches() {