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:
slakmagik 2010-05-07 18:47:33 +00:00
parent 1bda5605aa
commit e12fea7b87

View File

@ -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?")"\