]> gitweb.fluxo.info Git - httruta.git/commitdiff
Be more verbose
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Aug 2013 14:37:37 +0000 (11:37 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Aug 2013 14:37:37 +0000 (11:37 -0300)
lib/httracker/functions

index a0a3837202452a813960c99f7ddcf7e315239123..7a66bc7ed93ad660dfc821f311cdaee064e9bd12 100644 (file)
@@ -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