commit diff from Mauro Giachero to fix issue where some packages were incorrectly reported as already being in the build queue.

This commit is contained in:
chess.griffin 2009-01-04 20:53:24 +00:00
parent edcd83dbd9
commit 10427dac9b

View file

@ -32,9 +32,9 @@
# D. Kadirov, The-spiki, David Somero, LukenShiro, Drew Ames, nille, # D. Kadirov, The-spiki, David Somero, LukenShiro, Drew Ames, nille,
# acidchild, mancha, macavity, Zordrak, Joao Felipe Santos, # acidchild, mancha, macavity, Zordrak, Joao Felipe Santos,
# cotterochan, necropresto, Pierre Cazenave, Mauro Giachero, # cotterochan, necropresto, Pierre Cazenave, Mauro Giachero,
# The-Croupier, Wade Grant, and SpacePlod. This script would not be # The-Croupier, and Wade Grant. This script would not be where it is
# where it is without the help of these folks. If I left anyone out, # without the help of these folks. If I left anyone out, I
# I apologize. Thank you! # apologize. Thank you!
# #
#set -x #set -x
@ -599,7 +599,7 @@ elif [ $CHOICE = 0 ]; then
remove_sources $APP remove_sources $APP
fi fi
if [ "$U" = "Queue" ]; then if [ "$U" = "Queue" ]; then
if $(cat $TMP/sbopkg-tmp-queue | grep -q "$APP "); then if $(cat $TMP/sbopkg-tmp-queue | grep -q "^$APP "); then
dialog --title "ERROR" --msgbox "$APP is already in the \ dialog --title "ERROR" --msgbox "$APP is already in the \
queue." 8 30 queue." 8 30
else else