summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-update12
1 files changed, 3 insertions, 9 deletions
diff --git a/db-update b/db-update
index 1134b2d..db96704 100755
--- a/db-update
+++ b/db-update
@@ -181,15 +181,9 @@ fi
# if non empty, move all build dirs
if [ $(/bin/ls "$WORKDIR/build/" 2>/dev/null | wc -l) != 0 ]; then
+ echo "Copying new files to '$ftppath'"
/bin/cp -r "$WORKDIR/build/"* "$ftppath"
-fi
-
-if [ "$updatelists" ]; then
- echo "==> Generating Text Package List..." >&2
- cd "$WORKDIR/checkout"
- $ARCHDIR/genpkglist $ftppath $svnrepo
- if [ -f packages.txt ]; then
- mv packages.txt $ftppath/packages.txt
- fi
+else
+ echo "Nothing to copy, no work done"
fi
# vim: set ts=4 sw=4 noet ft=sh: