mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
allow 'ESC' to exit edit_build_queue menu; thanks to Nille for the bug report
This commit is contained in:
parent
8b3544db4d
commit
846ace5e0f
@ -1,4 +1,4 @@
|
||||
Tue May 26 14:50:17 UTC 2009
|
||||
Sun Jun 7 03:40:11 UTC 2009
|
||||
Sbopkg 0.XX.X released. This version contains the following fixes and
|
||||
enhancements:
|
||||
|
||||
@ -105,3 +105,4 @@ enhancements:
|
||||
* Remove the old "$APP $VERSION$BUILD $ONOFF" format for the temporary queue
|
||||
and instead make all queue formats "$APP" only. This simplifies some code
|
||||
and results in a small speed increase.
|
||||
* Exit edit_build_queue menu with 'ESC'; thanks to Nille for the bug report.
|
||||
|
@ -1690,6 +1690,10 @@ edit_build_queue() {
|
||||
CHOICE=$? # 0 = Delete, 1 = Cancel, 2 = Done, 3 = Delete All
|
||||
REMOVED=$(< $ANSQUEUE)
|
||||
case $CHOICE in
|
||||
255|-1) # ESC
|
||||
rm -f $REMOVEQUEUE
|
||||
return 0
|
||||
;;
|
||||
0)
|
||||
echo $REMOVED >> $WORKINGQUEUE
|
||||
sed -i "/^$REMOVED .*$/d" $REMOVEQUEUE
|
||||
|
Loading…
Reference in New Issue
Block a user