mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
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:
parent
8037d2531f
commit
395954a76e
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue