From 6215a5c9924ab9aa420cd7235f700fbde6b9166b Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Thu, 16 Jan 2014 12:39:41 +0400 Subject: [PATCH] Show "FULL DOWNLOAD" message only when really downloading. --- sbin/gentoo-fetchcommand.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/gentoo-fetchcommand.sh b/sbin/gentoo-fetchcommand.sh index dadfd02..94d27b1 100755 --- a/sbin/gentoo-fetchcommand.sh +++ b/sbin/gentoo-fetchcommand.sh @@ -9,7 +9,6 @@ DEST_FILE=`echo $@ | awk '{print $3}'` if [ -f "$DEST_FILE" ]; then exit 0 else - echo "======= FULL DOWNLOAD... ======" echo "======= PARAMS: $@ ======" URL_FNAME=${URL##*/} DEST_FILE_DIR=${DEST_FILE%/*} @@ -19,6 +18,7 @@ else mv -f $DEST_FILE_DIR/$URL_FNAME $DEST_FILE exit $? else + echo "======= FULL DOWNLOAD... ======" /usr/bin/wget -t1 --passive-ftp $@ exit $? fi