Gentoo-Upgrade/sbin/gentoo-fetchcommand.sh
2012-05-19 14:16:04 +04:00

13 lines
250 B
Bash
Executable File

#!/bin/bash
DEST_FILE=`echo $@ | sed 's~.* ~~g'`
/usr/bin/getdelta.sh "$@"
if [ ! -f "$DEST_FILE" ]; then
echo "======= FULL DOWNLOAD... ======"
echo "======= PARAMS: $@ ======"
/usr/bin/wget -t1 --passive-ftp $@
fi
exit 0