diff options
-rw-r--r-- | src/feed.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feed.sh b/src/feed.sh index bd2de5f..39ba751 100644 --- a/src/feed.sh +++ b/src/feed.sh @@ -71,7 +71,8 @@ feed_find_pkgs() feed_pkg='' feed_deps='' - parse_control "${feed_idx}" feed_field_cb feed_para_cb 'Package' + { ${GUNZIP} -c -- "${feed_idx}" || cat "${feed_idx}"; } 2>/dev/null | \ + parse_control '-' feed_field_cb feed_para_cb 'Package' printf '%s\n' "${feed_pkgs# }" |