From 3cfa0be926efae73e0044ae7746917d8d9d6c874 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 8 Apr 2008 00:47:59 -0400 Subject: Make genpkglist work again I somehow delete the dupe checking. This also works based on svn repo tag, and doesn't give stupid errors if packages.txt is missing Signed-off-by: Aaron Griffin --- db-inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'db-inc') diff --git a/db-inc b/db-inc index 6c0b78c..7e2e61a 100644 --- a/db-inc +++ b/db-inc @@ -173,8 +173,10 @@ fi if [ "$updatelists" ]; then echo "==> Generating Text Package List..." >&2 cd $TMPDIR/checkout - $ARCHDIR/genpkglist $ftppath $arch - mv packages.txt $ftppath/packages.txt + $ARCHDIR/genpkglist $ftppath $svnrepo + if [ -f packages.txt ]; then + mv packages.txt $ftppath/packages.txt + fi fi cleanup -- cgit v1.2.3-2-g168b