mirror of
https://github.com/sbopkg/sbopkg
synced 2025-01-05 11:01:59 +01:00
fix issue where user would be told each individual update was added to the queue as it was added; also fix bug where sometimes search results would be duplicated in the search results dialog; thanks to Phillip Warner for both bug reports.
This commit is contained in:
parent
0da24771d3
commit
30155b7ff5
1 changed files with 5 additions and 2 deletions
|
@ -1187,7 +1187,8 @@ add_item_to_queue () {
|
||||||
# Only display this if we are not loading a queue; otherwise getting this
|
# Only display this if we are not loading a queue; otherwise getting this
|
||||||
# after each app was added to the queue may get annoying.
|
# after each app was added to the queue may get annoying.
|
||||||
if [[ ! -e $TMP/sbopkg_user_queue.lck && \
|
if [[ ! -e $TMP/sbopkg_user_queue.lck && \
|
||||||
! -e $TMP/sbopkg_backup_queue.lck ]]; then
|
! -e $TMP/sbopkg_backup_queue.lck && \
|
||||||
|
! -e $TMP/sbopkg-update-queue ]]; then
|
||||||
dialog --title "Done" --msgbox "$(crunch "$APP has been added to \
|
dialog --title "Done" --msgbox "$(crunch "$APP has been added to \
|
||||||
the build queue.")" 8 40
|
the build queue.")" 8 40
|
||||||
fi
|
fi
|
||||||
|
@ -2414,7 +2415,9 @@ main_menu () {
|
||||||
"Updates") main_updates ;;
|
"Updates") main_updates ;;
|
||||||
"Browse") browse_categories
|
"Browse") browse_categories
|
||||||
rm -f $TMP/sbopkg_return_main_menu ;;
|
rm -f $TMP/sbopkg_return_main_menu ;;
|
||||||
"Search") main_search ;;
|
"Search") main_search
|
||||||
|
rm -f $TMP/sbopkg_search_*
|
||||||
|
rm -f $TMP/sbopkg_return_main_menu ;;
|
||||||
"Utilities") utilities_menu ;;
|
"Utilities") utilities_menu ;;
|
||||||
"Queue") queue_menu ;;
|
"Queue") queue_menu ;;
|
||||||
*) # "Exit", or an empty string if Exit, instead of Ok,
|
*) # "Exit", or an empty string if Exit, instead of Ok,
|
||||||
|
|
Loading…
Reference in a new issue