diff options
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/^/ /' |