index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-21 14:40:20 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-21 14:40:20 +0100 |
commit | d5a246926a733f1eff999724fe973e841f1193f7 (patch) | |
tree | 97e97e7b3efba4ba8c6aef0a23bfaeec12cd8ba4 /bin/clean-dependencies | |
parent | 3fd0add000051bc2c0ae066e08416e4bba362ebf (diff) |
-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 ' | \ |