mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03: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
@ -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 New Issue
Block a user