diff options
Diffstat (limited to 'lib/httracker')
| -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 | 
