diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-17 20:32:47 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-17 20:32:47 +0200 |
commit | 17c9dab4b420ca55fd4fb3f277805af148159a4d (patch) | |
tree | bf48b576e2d7886713d4e01cd7b2feccfc3aed2e /db-update | |
parent | a2b3b2bb2bde44289d41b956dde1f5bca61e581b (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-x | db-update | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |