Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-20 10:02:38 +0100
committerErich Eckner <git@eckner.net>2019-12-20 10:02:38 +0100
commite61a051c9bb3c179e85c017ad7d9616fb7c9eb07 (patch)
treeda299187591fddd717e89644e541cde1e87c9977
parent7231d031e74354fb6561767165142336ce3928df (diff)
bin/why-dont-you: print each missing dependency only once
-rwxr-xr-xbin/why-dont-you3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 9fb13f5..4d8706c 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -174,7 +174,8 @@ case "${action}" in
printf '%s\n' "${line}" | \
base64 -d
printf '\n'
- done
+ done | \
+ sort -u
continue
fi
if [ "${is_broken}" = '1' ]; then