diff options
Diffstat (limited to 'genpkglist')
-rwxr-xr-x | genpkglist | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -4,11 +4,13 @@ tl=`pwd` for category in {base,opt,contrib}; do echo $category >>packages.txt - for pkg in `ls $category`; do + for pkg in `ls $category | sort`; do cd $tl/$category/$pkg - . PKGBUILD - cd $tl - echo " $pkgname $pkgver" >>packages.txt + if [ -f PKGBUILD ]; then + . PKGBUILD + cd $tl + echo " $pkgname $pkgver" >>packages.txt + fi done cd $tl echo "" >>packages.txt |