summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdb-update6
1 files changed, 4 insertions, 2 deletions
diff --git a/db-update b/db-update
index 507d40a..cb00f39 100755
--- a/db-update
+++ b/db-update
@@ -81,7 +81,8 @@ if [ -d "$stagedir" ]; then
ANYPKGS="$(/bin/ls $stagedir/*-any$PKGEXT 2>/dev/null)"
fi
-echo "==> Processing new/updated arch-independent packages for '$reponame'..." >&2
+pkgtotal=$(echo "$ANYPKGS" | wc -w)
+echo "==> Processing $pkgtotal new/updated arch-independent packages for '$reponame'..." >&2
cd "$WORKDIR"
svnpath="$(get_svnpath $reponame)"
/usr/bin/svn checkout -N $svnpath checkout
@@ -152,7 +153,8 @@ for A in ${ARCHES[@]}; do
/bin/cp "$ftppath/$reponame.db.tar.$DB_COMPRESSION" build/
fi
- echo "==> Processing new/updated packages for repository '$reponame'..." >&2
+ pkgtotal=$(echo "$ADDPKGS $ANYPKGS" | wc -w)
+ echo "==> Processing $pkgtotal new/updated packages for repository '$reponame'..." >&2
cd "$WORKDIR"
/usr/bin/svn checkout -N $svnpath checkout