mirror of
https://github.com/sbopkg/sbopkg
synced 2025-01-16 03:41:32 +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
|
||||
|
||||
rm -rf $DLDIR
|
||||
mkdir -p $DLDIR
|
||||
cd $DLDIR
|
||||
find $DLDIR -type f | xargs rm
|
||||
|
||||
if [[ -z $NO_DL_LOOP ]]; then
|
||||
wget $WGETFLAGS ${DOWNLOAD[$i]} >> \
|
||||
|
@ -3049,7 +3049,7 @@ remove_files() {
|
|||
if [[ $DIAG ]]; then
|
||||
while :; do
|
||||
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 \
|
||||
--separate-output --checklist "$(crunch "Would you like \
|
||||
to keep the $TOPIC in $FILESPATH?")"\
|
||||
|
|
Loading…
Reference in a new issue