index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/clean-dependencies | 5 |
diff --git a/bin/clean-dependencies b/bin/clean-dependencies index 1fbc244..82d49b3 100755 --- a/bin/clean-dependencies +++ b/bin/clean-dependencies @@ -11,9 +11,6 @@ # shellcheck source=../lib/load-configuration . "${0%/*}/../lib/load-configuration" -echo 'do not run this - it will remove too many dependencies' -exit 42 - deps_file=$(mktemp 'tmp.clean-dependencies.XXXXXXXXXX' --tmpdir) trap 'rm "${deps_file}"' EXIT @@ -45,7 +42,7 @@ trap 'rm "${deps_file}"' EXIT continue printf '%s\n' "${infos}" | \ sed ' - s/^.*"Requires":\("[^"]\+"\|\[[^[]]\+\]\).*$/\1/ + s/^.*"Requires":\("[^"]\+"\|\[[^][]\+\]\).*$/\1/ t d ' | \ |