mirror of
https://github.com/sbopkg/sbopkg
synced 2025-01-28 19:58:22 +01:00
Fix issue 46 (and issue 44, hopefully this time for real).
"When in doubt use brute force." The timid line in r770 could result in rm spitting errors. Thanks to Mauro for the right line. Corrected a typo while I was at it.
This commit is contained in:
parent
1bda5605aa
commit
e12fea7b87
1 changed files with 2 additions and 2 deletions
|
@ -2874,9 +2874,9 @@ get_source() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
rm -rf $DLDIR
|
||||||
mkdir -p $DLDIR
|
mkdir -p $DLDIR
|
||||||
cd $DLDIR
|
cd $DLDIR
|
||||||
find $DLDIR -type f | xargs rm
|
|
||||||
|
|
||||||
if [[ -z $NO_DL_LOOP ]]; then
|
if [[ -z $NO_DL_LOOP ]]; then
|
||||||
wget $WGETFLAGS ${DOWNLOAD[$i]} >> \
|
wget $WGETFLAGS ${DOWNLOAD[$i]} >> \
|
||||||
|
@ -3049,7 +3049,7 @@ remove_files() {
|
||||||
if [[ $DIAG ]]; then
|
if [[ $DIAG ]]; then
|
||||||
while :; do
|
while :; do
|
||||||
dialog --title "$(crunch "Displaying $TOPIC")" \
|
dialog --title "$(crunch "Displaying $TOPIC")" \
|
||||||
--ok-label "Ok" --extra-label "Delete selected" \
|
--ok-label "OK" --extra-label "Delete selected" \
|
||||||
--cancel-label "Invert all" --extra-button \
|
--cancel-label "Invert all" --extra-button \
|
||||||
--separate-output --checklist "$(crunch "Would you like \
|
--separate-output --checklist "$(crunch "Would you like \
|
||||||
to keep the $TOPIC in $FILESPATH?")"\
|
to keep the $TOPIC in $FILESPATH?")"\
|
||||||
|
|
Loading…
Add table
Reference in a new issue