index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/clean-dependencies | 8 |
diff --git a/bin/clean-dependencies b/bin/clean-dependencies index a9105fb..a2da6ef 100755 --- a/bin/clean-dependencies +++ b/bin/clean-dependencies @@ -34,9 +34,13 @@ trap 'rm "${deps_file}"' EXIT printf ' AND `install_targets`.`name` NOT IN ("base","base-devel");\n' } | \ mysql_run_query | \ - pv --line-mode | \ while read -r id path; do - curl -Ss "https://pkgapi.archlinux32.org/$path" | \ + >&2 printf '.' + infos=$( + curl -Ss "https://pkgapi.archlinux32.org/$path" + ) || \ + continue + printf '%s\n' "${infos}" | \ sed ' s/^.*"Requires":\("[^"]\+"\|\[[^[]]\+\]\).*$/\1/ t |