summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-24 11:27:56 +0200
committerErich Eckner <git@eckner.net>2019-06-24 11:27:56 +0200
commit60929f5f86ca764de092a7bbe867d4f35c5b585f (patch)
tree2c47eb2925ad2d8593dd7537a05e6bc7335431dd
parentf8287e1795c1d31b0fe41079a624997c69ea5320 (diff)
downloadarchlinuxewe-60929f5f86ca764de092a7bbe867d4f35c5b585f.tar.xz
checkDependencies: -m new
-rwxr-xr-xcheckDependencies8
1 files changed, 7 insertions, 1 deletions
diff --git a/checkDependencies b/checkDependencies
index b3d216d19..86da7163c 100755
--- a/checkDependencies
+++ b/checkDependencies
@@ -239,4 +239,10 @@ version_comparisons=$(
fi
printf '\n'
done \
-| sort
+| sort \
+| if [ "$1" = '-m' ]; then
+ sed 's/^\(\S\+\) \S\+ (\(\S\+\)) .*$/--only \1:\2/' \
+ | sort -u
+else
+ cat
+fi