From: Michael Tremer Date: Wed, 28 Jan 2009 21:48:31 +0000 (+0100) Subject: Added a command that shows all used source files by the packages. X-Git-Tag: v3.0-alpha1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f62382d4403c089e24f197003361c0c77bd036e;p=ipfire-3.x.git Added a command that shows all used source files by the packages. --- diff --git a/tools/make-interactive b/tools/make-interactive index d4e74aeff..55470574f 100644 --- a/tools/make-interactive +++ b/tools/make-interactive @@ -243,6 +243,11 @@ package*|pkg) list|show|ls) pkg_list_packages ;; + file*) + for i in $BASEDIR/lfs/*; do + pkg_files $i + done + ;; info) shift 2 format_desc() { diff --git a/tools/make-packages b/tools/make-packages index 163fa534a..d67b890b1 100644 --- a/tools/make-packages +++ b/tools/make-packages @@ -95,3 +95,13 @@ pkg_deps() { echo $DEPS ) } + +pkg_files() { + ( + unset NAME VERSION + eval $(pkg_info ${1}) + for i in $FILES; do + echo $i + done + ) +}