From bd8e556a981edc1f2e927a04f0501e29ab40f174 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Aug 2013 11:37:37 -0300 Subject: Be more verbose --- lib/httracker/functions | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3