diff options
Diffstat (limited to 'sbodl')
-rwxr-xr-x | sbodl | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -90,7 +90,7 @@ for dl in $DL; do else wget $WGETARGS $EXTRAWGETARGS "$dl" || die "Download failed" if [ -e "$FILE" ]; then - mv "$FILE" "$CACHEDIR" + mv -b "$FILE" "$CACHEDIR" ln -s "$CACHEDIR/$FILE" "$FILE" fi fi @@ -105,6 +105,5 @@ for dl in $DL; do else echo "WARN: can't find downloaded file $FILE" fi - echo shift done |