only check empty_queue in process_queue when BUILDPKGS=1

This commit is contained in:
chess.griffin 2009-01-20 22:49:56 +00:00
parent db57b92f08
commit da2fa378f7

View File

@ -2020,7 +2020,9 @@ process_queue () {
QUITBUILD=""
rm -f $SBOPKGTMPOUTPUT $FINALQUEUE $PRECHECKLOG $SUMMARYLOG
check_root
if empty_queue; then return; fi
if [ "$BUILDPKGS" = 1 ]; then
if empty_queue; then return; fi
fi
if [ $ROOT = "false" ]; then
if [ "$DIAG" = 1 ]; then
dialog --title "ERROR" --msgbox "$(crunch "You must run this \