diff options
author | Enno Boland <g@s01.de> | 2014-09-30 15:04:22 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-10-10 16:44:40 +0200 |
commit | 01453be0f1cdfbbac1eb2a99991bfa1958537b98 (patch) | |
tree | c20ceddeb04ebc21b89bbb20e306aa641a163dd6 | |
parent | e5db7b287e90ebd76eb9a6e0aaaa7b2c720cf041 (diff) | |
download | xtools-01453be0f1cdfbbac1eb2a99991bfa1958537b98.tar.gz xtools-01453be0f1cdfbbac1eb2a99991bfa1958537b98.tar.xz xtools-01453be0f1cdfbbac1eb2a99991bfa1958537b98.zip |
xsubpkg: new tool which searches for all subpackages of a package.
-rwxr-xr-x | xsubpkg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xsubpkg b/xsubpkg new file mode 100755 index 0000000..0a2f48e --- /dev/null +++ b/xsubpkg @@ -0,0 +1,6 @@ +#!/bin/sh +# xsubpkg PKG - lists all subpackages of a package + +PKG=$1 +cd `xdistdir` +find -L srcpkgs -samefile srcpkgs/"$PKG"/template | cut -d/ -f 2 |