mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
rename the saved queue; remove an old commented out line
This commit is contained in:
parent
bc7339f8d6
commit
f249764ca7
1 changed files with 3 additions and 4 deletions
|
@ -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 a new issue