[Debian-in-commits] [debian-in] 01/01: Script to print rdeps

Vasudev Kamath vasudev-guest at alioth.debian.org
Thu Sep 5 17:08:27 UTC 2013


This is an automated email from the git hooks/post-receive script.

vasudev-guest pushed a commit to branch master
in repository debian-in.

commit e5a40d43521360a27c76257538ead27006f1ebef
Author: Vasudev Kamath <kamathvasudev at gmail.com>
Date:   Thu Sep 5 22:37:16 2013 +0530

    Script to print rdeps
---
 attic/scripts/print-rdeps |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/attic/scripts/print-rdeps b/attic/scripts/print-rdeps
new file mode 100755
index 0000000..64f7b3c
--- /dev/null
+++ b/attic/scripts/print-rdeps
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -eu
+
+if [ $# -lt 1 ]; then
+    echo "Usage: $0 package[s]" >&2
+    exit 2
+fi
+
+for package in "$@"; do
+    echo "----- $package -----"
+    apt-cache rdepends "$package"
+done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-in/debian-in.git



More information about the Debian-in-commits mailing list