allow user to press ESC to exit out of the build/build or install dialog properly; it had to be done this way due to what I believe is a bug in dialog.

This commit is contained in:
chess.griffin 2009-01-14 16:47:12 +00:00
parent 8037d2531f
commit 395954a76e

View file

@ -1536,8 +1536,12 @@ if [ "$DIAG" = 1 ]; then
dialog --title "Install Package(s)" --yes-label "Build" \
--no-label "Build and Install" --yesno "Would you like to build the \
package(s) only, or build and install the package(s)? (Press \
Control-C to exit)." 8 50
if [ $? = 1 ]; then
ESC to exit)." 8 50
V=$?
if [ $V = 255 ]; then
return 0
fi
if [ $V = 1 ]; then
INSTALLPKGS=1
fi
fi