summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/feed.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/feed.sh b/src/feed.sh
index 5f8d86b..af1cfe3 100644
--- a/src/feed.sh
+++ b/src/feed.sh
@@ -131,8 +131,10 @@ feed_find_pkgs()
feed_pkg=''
feed_deps=''
- { ${GUNZIP} -c -- "${feed_idx}" || cat "${feed_idx}"; } 2>/dev/null | \
- parse_control '-' feed_field_cb feed_para_cb 'Package'
+ parse_control '-' feed_field_cb feed_para_cb 'Package' <<-EOF
+ $({ ${GUNZIP} -c -- "${feed_idx}" || cat "${feed_idx}"; } \
+ 2>/dev/null)
+ EOF
printf '%s\n' "${feed_pkgs# }"