aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-09 16:17:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-09 16:17:51 -0300
commitab7f4e8a30f09af4bf505844b7a76eb6061cb332 (patch)
treef62269d238b1ecb7bd34f403ff79831d95ed912c
parentf7ee96f1120761c6708dbb0e7c5c470039b85a02 (diff)
downloadhttruta-ab7f4e8a30f09af4bf505844b7a76eb6061cb332.tar.gz
httruta-ab7f4e8a30f09af4bf505844b7a76eb6061cb332.tar.bz2
Improve output
-rw-r--r--lib/httracker/functions10
1 files 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