forked from mirrors/openup
Fix mutualy exclusive options parsing.
This commit is contained in:
parent
f63604f746
commit
f076032aec
1 changed files with 8 additions and 6 deletions
14
openup
14
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-*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue