From: Silvio Rhatto Date: Tue, 27 Aug 2013 14:37:37 +0000 (-0300) Subject: Be more verbose X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bd8e556a981edc1f2e927a04f0501e29ab40f174;p=httruta.git Be more verbose --- diff --git a/lib/httracker/functions b/lib/httracker/functions index a0a3837..7a66bc7 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -22,13 +22,18 @@ function httracker_get { local url="$1" local hash="`echo $1 | sha1sum | cut -d ' ' -f 1`" + echo -n "Processing $url..." + # Set target and make sure it exists TARGET="$MIRRORS/$hash" mkdir -p $TARGET # We already got this one if [ -e "$TARGET/httracker-ok" ]; then + echo " skipping as it's already downloaded as $hash..." return + else + echo -e "\n" fi # Basic options