From ab7f4e8a30f09af4bf505844b7a76eb6061cb332 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Aug 2015 16:17:51 -0300 Subject: Improve output --- lib/httracker/functions | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/httracker/functions b/lib/httracker/functions index 25109d4..050810d 100644 --- a/lib/httracker/functions +++ b/lib/httracker/functions @@ -24,7 +24,7 @@ function httracker_get { local first="`echo $hash | cut -c 1-2`" local second="`echo $hash | cut -c 3-4`" - echo -n "Processing $url..." + echo "Processing $url..." # Set target and make sure it exists # We use two levels of directories used for hashing, @@ -35,11 +35,8 @@ function httracker_get { # We already got this one if [ -e "$TARGET/httracker-ok" ]; then - echo " skipping as it's already downloaded as $hash..." + echo "Skipping as it's already downloaded as $hash..." return - else - echo -e "\n" - echo "Hash is $hash" fi # Basic options @@ -72,6 +69,9 @@ function httracker_get { echo "Fixing $TARGET permissions again..." chown -R $USER.$GROUP $TARGET/ fi + + # Done here + echo "" } # Download URLs, incremental mode -- cgit v1.2.3