diff options
author | Judd Vinet <judd@archlinux.org> | 2002-03-16 08:01:37 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2002-03-16 08:01:37 +0000 |
commit | 4c798bbe91c98149672f9088c4b120a8ca96e95a (patch) | |
tree | bac6985f53805ecb894c57144df96ee7aa286d92 |
Added script genpkglist
-rwxr-xr-x | genpkglist | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/genpkglist b/genpkglist new file mode 100755 index 0000000..0999592 --- /dev/null +++ b/genpkglist @@ -0,0 +1,15 @@ +#!/bin/bash + +tl=`pwd` + +for category in {base,opt,contrib}; do + echo $category >>packages.txt + for pkg in `ls $category`; do + cd $tl/$category/$pkg + . PKGBUILD + cd $tl + echo " $pkgname $pkgver" >>packages.txt + done + cd $tl + echo "" >>packages.txt +done |