mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
rename the saved queue; remove an old commented out line
This commit is contained in:
parent
bc7339f8d6
commit
f249764ca7
@ -835,7 +835,7 @@ continue
|
||||
|
||||
delete_queue () {
|
||||
# This function deletes any saved queues.
|
||||
PERMQUEUE=$TMP/sbopkg-permanentqueue
|
||||
PERMQUEUE=$TMP/sbopkg-savedqueue
|
||||
if [ -e $PERMQUEUE ]; then
|
||||
dialog --title "Delete Saved Queue?" --yesno "A saved build \
|
||||
queue was found. Would you like to delete it? Press <Yes> to \
|
||||
@ -853,7 +853,7 @@ load_queue () {
|
||||
# current $TMPQUEUE.
|
||||
TMPQUEUE=$TMP/sbopkg-tmp-queue
|
||||
WORKINGQUEUE=$TMP/sbopkg-working-queue
|
||||
PERMQUEUE=$TMP/sbopkg-permanentqueue
|
||||
PERMQUEUE=$TMP/sbopkg-savedqueue
|
||||
if [ -e $PERMQUEUE ]; then
|
||||
dialog --title "Load Saved Queue?" --yesno "A saved build queue \
|
||||
was found. Would you like to load it? Press <Yes> to load the \
|
||||
@ -878,7 +878,7 @@ save_queue () {
|
||||
# $TMPQUEUE.
|
||||
TMPQUEUE=$TMP/sbopkg-tmp-queue
|
||||
WORKINGQUEUE=$TMP/sbopkg-working-queue
|
||||
PERMQUEUE=$TMP/sbopkg-permanentqueue
|
||||
PERMQUEUE=$TMP/sbopkg-savedqueue
|
||||
if [ -e $TMPQUEUE ]; then
|
||||
dialog --title "Save Queue Permanently?" --yesno "Would you \
|
||||
like to save a copy of the build queue? Press <Yes> to save (and \
|
||||
@ -1979,7 +1979,6 @@ if [ -e $TMP/sbopkgpidlist ]; then
|
||||
rm -f $TMP/sbopkgpidlist
|
||||
fi
|
||||
if [ "$DIAG" = 1 ]; then
|
||||
#rm -rf $TMP/sbopkg_*
|
||||
break
|
||||
else
|
||||
cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user