diff options
author | Jiachen Yang | 2015-08-10 19:10:12 +0900 |
---|---|---|
committer | Jiachen Yang | 2015-08-10 19:10:12 +0900 |
commit | 700e1bffd16b935a5db7c1ae973817f1bbb81d39 (patch) | |
tree | 0a19482d1129990b6ef8fa730cae176c4906de89 /whoneeds.bash | |
download | aur-700e1bffd16b935a5db7c1ae973817f1bbb81d39.tar.gz |
takeover pkgtools
Diffstat (limited to 'whoneeds.bash')
-rwxr-xr-x | whoneeds.bash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/whoneeds.bash b/whoneeds.bash new file mode 100755 index 000000000000..cf9371191ac3 --- /dev/null +++ b/whoneeds.bash @@ -0,0 +1,4 @@ +#! /bin/bash + +echo "Packages that depend on [$1]" +comm -12 <(pactree -ru $1|sort) <(pacman -Qqe) | grep -v ^$1$ | sed 's/^/ /' |