diff options
Diffstat (limited to 'bin/show-dependencies')
-rwxr-xr-x | bin/show-dependencies | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/bin/show-dependencies b/bin/show-dependencies index fbd15ce..6c1d80f 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -225,11 +225,15 @@ for target_package in "$@"; do line_count="$(wc -l < "${tmp_dir}/input")" if [ "${line_count}" -gt 500 ]; then - rm -f "${output}" - >&2 printf 'Skipping graph for "%s" - would be too big (%d).\n' \ - "${target_package}" \ - "${line_count}" - continue + sed -i '/"base\(-devel\)\?"/d' "${tmp_dir}/input" + line_count="$(wc -l < "${tmp_dir}/input")" + if [ "${line_count}" -gt 600 ]; then + rm -f "${output}" + >&2 printf 'Skipping graph for "%s" - would be too big (%d).\n' \ + "${target_package}" \ + "${line_count}" + continue + fi fi printf 'small enough (%s): %d\n' \ "${target_package}" \ |