diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/feed.sh | 5 |
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 } |