1
0
Fork 0
forked from mirrors/openup

Fix mutualy exclusive options parsing.

This commit is contained in:
Antoine Jacoutot 2013-09-04 16:25:52 +02:00
commit f076032aec

14
openup
View file

@ -215,15 +215,17 @@ done
check_openupd 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 if [ -z "${nosig}" ]; then get_cert; fi
update_binpatches update_binpatches
update_pkg update_pkg
else
if [ "${nosig}" -o "${dryrun}" ]; then
usage
fi
check_vuxml
fi fi
rm -f ${_TMPDIR}/.openup-* rm -f ${_TMPDIR}/.openup-*