diff --git a/bin/dasht-docsets-install b/bin/dasht-docsets-install index da5f01f..d58f7af 100755 --- a/bin/dasht-docsets-install +++ b/bin/dasht-docsets-install @@ -65,7 +65,7 @@ test "$1" = '-f' -o "$1" = '--force' && force=1 && shift || unset force cache() { url=$1 file="$DASHT_CACHE_DIR/${url##*/}" - wget -T 2 -t 1 -P "${file%/*}" -N "$url" --no-verbose || test -s "$file" + wget -T 2 -t 1 -P "${file%/*}" -N "$url" || test -s "$file" echo "$file" } master_url=https://api.github.com/repos/Kapeli/feeds/git/refs/heads/master @@ -92,6 +92,6 @@ for docset; do tgz="$DASHT_DOCSETS_DIR/$basename" url="https://kapeli.com/feeds/$basename" - wget -P "$DASHT_DOCSETS_DIR" -N -c "$url" --no-verbose --show-progress + wget -P "$DASHT_DOCSETS_DIR" -N -c "$url" dasht-docsets-extract "$tgz" done diff --git a/bin/dasht-docsets-update b/bin/dasht-docsets-update index 6658af0..85b8335 100755 --- a/bin/dasht-docsets-update +++ b/bin/dasht-docsets-update @@ -54,7 +54,7 @@ done | sort -u | while read -r tgz; do url="https://kapeli.com/feeds/$(basename "$tgz")" touch -r "$tgz" "$last_modified_at" - wget -P "$DASHT_DOCSETS_DIR" -N "$url" --no-verbose --show-progress + wget -P "$DASHT_DOCSETS_DIR" -N "$url" test "$tgz" -nt "$last_modified_at" && dasht-docsets-extract "$tgz" rm "$last_modified_at" done