summaryrefslogtreecommitdiffstats
path: root/db-inc
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-04-08 06:47:59 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-04-08 06:47:59 +0200
commit3cfa0be926efae73e0044ae7746917d8d9d6c874 (patch)
tree51ffdf31eb39c6685ed9f7768c2c0951c7dbd0b4 /db-inc
parent3207e38d0f65b569402b1497920be2c47df2fbb1 (diff)
downloaddbscripts-3cfa0be926efae73e0044ae7746917d8d9d6c874.tar.gz
dbscripts-3cfa0be926efae73e0044ae7746917d8d9d6c874.tar.xz
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 <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-inc')
-rw-r--r--db-inc6
1 files changed, 4 insertions, 2 deletions
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