accept 'q' to exit.
This commit is contained in:
parent
c0ed0de7d1
commit
321622a318
1 changed files with 2 additions and 2 deletions
|
@ -121,9 +121,9 @@ do cd $TMPDIR
|
||||||
highest="`wc -l $TMPF | awk '{ print $1 - 1 }'`"
|
highest="`wc -l $TMPF | awk '{ print $1 - 1 }'`"
|
||||||
awk -F'|' <$TMPF '{ printf "%3s %-15s %s\n", $1, $2, $3 }' | more
|
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 "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
|
read packnolist
|
||||||
if [ "$packnolist" = "" ]
|
if [ "$packnolist" = "" -o "$packnolist" = "q" ]
|
||||||
then exit 0
|
then exit 0
|
||||||
fi
|
fi
|
||||||
if [ "$packnolist" = all ]
|
if [ "$packnolist" = all ]
|
||||||
|
|
Loading…
Reference in a new issue