Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/clean-dependencies5
1 files changed, 1 insertions, 4 deletions
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
' | \