setup_board: fix passing --usepkgonly state through to update_chroot

This commit is contained in:
Michael Marineau 2016-02-04 11:42:07 -08:00
parent f471b4a709
commit 5411bf574e

View File

@ -155,7 +155,7 @@ if [ "${FLAGS_usepkg}" -eq "${FLAGS_TRUE}" ]; then
if [[ "${FLAGS_usepkgonly}" -eq "${FLAGS_TRUE}" ]]; then
UPDATE_ARGS+=" --usepkgonly"
else
UPDATE_ARGS+=" --usepkgonly"
UPDATE_ARGS+=" --nousepkgonly"
fi
if [[ "${FLAGS_getbinpkg}" -eq "${FLAGS_TRUE}" ]]; then
UPDATE_ARGS+=" --getbinpkg "