summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-17 20:32:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-17 20:32:47 +0200
commit17c9dab4b420ca55fd4fb3f277805af148159a4d (patch)
treebf48b576e2d7886713d4e01cd7b2feccfc3aed2e /db-update
parenta2b3b2bb2bde44289d41b956dde1f5bca61e581b (diff)
Add additional checks when reading PKGBUILDs
If reading from a PKGBUILD fails stop immediatly. Also put out more usefull error messages.
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-update b/db-update
index dd8d1c0..68450b4 100755
--- a/db-update
+++ b/db-update
@@ -63,7 +63,7 @@ for repo in ${repos[@]}; do
if [ ${#add_pkgs[@]} -ge 1 ]; then
pushd "$FTP_BASE/$repo/os/${pkgarch}" >/dev/null
/usr/bin/repo-add -q "$repo$DBEXT" ${add_pkgs[@]} >/dev/null \
- || die "Could not add packages"
+ || die "repo-add $repo$DBEXT ${add_pkgs[@]}"
popd >/dev/null
fi
done