summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 10:59:20 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 10:59:20 (EDT)
commitf420d6ce6d44c060357583f2b176dd9efa27ac1d (patch)
tree4ff98ade6e2656f1563ab6e88e64fb4b2bd8a663 /src
parent2e8da1231bba19721704b197f2d71ceeacba2c37 (diff)
feed_download(): Leave feed index compressed
Diffstat (limited to 'src')
-rw-r--r--src/feed.sh5
1 files changed, 1 insertions, 4 deletions
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
}