From c45ec5e1e470c957dc48b540199221747c6d5835 Mon Sep 17 00:00:00 2001 From: fake Date: Fri, 24 Sep 2004 13:25:53 +0000 Subject: [PATCH] Thomas "fake" Jakobi, Tobias Hintze: added misc/archive/showdeps.sh small script to show dependency information about a package (please chmod a+x before committing) [2004091522474802952] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4382 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- misc/archive/showdeps.sh | 87 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 misc/archive/showdeps.sh diff --git a/misc/archive/showdeps.sh b/misc/archive/showdeps.sh new file mode 100644 index 000000000..ff95b1b9d --- /dev/null +++ b/misc/archive/showdeps.sh @@ -0,0 +1,87 @@ +#!/bin/sh +# +# [A] Tobias Hintze +# [A] Thomas "fake" Jakobi +# +# todo: support multiple packages as arguments and +# combine common uses/usedby's + +[ -z "$1" -o "$1" == "-help" ] && { + cat <" ./scripts/dep_db.txt | cut -d: -f1` +fi +echo +