diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-27 11:37:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-27 11:37:37 -0300 |
commit | bd8e556a981edc1f2e927a04f0501e29ab40f174 (patch) | |
tree | 87e1a9a2d6d23cad9110fcc690910465ff37f12a /lib/httracker/functions | |
parent | 4b3a10cc6ee95cc74ddd2f3db5b0fd355f19de7e (diff) | |
download | httruta-bd8e556a981edc1f2e927a04f0501e29ab40f174.tar.gz httruta-bd8e556a981edc1f2e927a04f0501e29ab40f174.tar.bz2 |
Be more verbose
Diffstat (limited to 'lib/httracker/functions')
-rw-r--r-- | lib/httracker/functions | 5 |
1 files changed, 5 insertions, 0 deletions
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 |