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,
# 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
echo "Fixing $TARGET permissions again..."
chown -R $USER.$GROUP $TARGET/
fi
+
+ # Done here
+ echo ""
}
# Download URLs, incremental mode