accept 'q' to exit.

This commit is contained in:
Ben Gras 2007-04-02 14:44:16 +00:00
parent c0ed0de7d1
commit 321622a318

View file

@ -121,9 +121,9 @@ do cd $TMPDIR
highest="`wc -l $TMPF | awk '{ print $1 - 1 }'`"
awk -F'|' <$TMPF '{ printf "%3s %-15s %s\n", $1, $2, $3 }' | more
echo "Format examples: '3', '3,6', '3-9', '3-9,11-15', 'all'"
echo -n "Package(s) to install (RETURN to exit) ? "
echo -n "Package(s) to install (RETURN or q to exit)? "
read packnolist
if [ "$packnolist" = "" ]
if [ "$packnolist" = "" -o "$packnolist" = "q" ]
then exit 0
fi
if [ "$packnolist" = all ]