From f420d6ce6d44c060357583f2b176dd9efa27ac1d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 10:59:20 -0400 Subject: feed_download(): Leave feed index compressed --- diff --git a/src/feed.sh b/src/feed.sh index 39ba751..b5247e3 100644 --- a/src/feed.sh +++ b/src/feed.sh @@ -34,17 +34,14 @@ feed_download() local base_url="${1}" local use_gzip="${2}" local url= - local gzip= if ${use_gzip}; then url="${base_url}/Packages.gz" - gzip="${GUNZIP}" else url="${base_url}/Packages" - gzip=cat fi - ${WGET} -q -O - "${url}" | ${gzip} + ${WGET} -q -O - "${url}" return 0 } -- cgit v0.9.1