fix dialog glitch when trying to add all packages to queue with no packages installed

This commit is contained in:
chess.griffin 2009-06-17 00:22:08 +00:00
parent 8b87240383
commit 98a2e324af

View file

@ -1907,8 +1907,8 @@ add_all_to_queue() {
for FILE in $PKGS; do
echo $FILE >> $SBOPKGLIST
done
NUM_PACKAGES=$(wc -l < $SBOPKGLIST)
if [[ -f $SBOPKGLIST ]]; then
NUM_PACKAGES=$(wc -l < $SBOPKGLIST)
{ # Grouping for progressbar
echo 0 # Progressbar begin