summaryrefslogtreecommitdiff
path: root/depchk
diff options
context:
space:
mode:
Diffstat (limited to 'depchk')
-rwxr-xr-xdepchk3
1 files changed, 3 insertions, 0 deletions
diff --git a/depchk b/depchk
new file mode 100755
index 0000000..fc1ab80
--- /dev/null
+++ b/depchk
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+apt-cache rdepends --installed --important --recurse "$1" | sed '/Reverse Depends:/d;s/^ /│ └─/g;s/^ /├─/g'