summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 15:41:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 15:41:37 -0400
commitda0737360ab185844e4461d7580cf81c639e9ded (patch)
treeafdc2387e43645a62410852d96fa0cf549363597 /db-update
parent0b96686ab36ddc29e07281d52dd7790c5c5ca89d (diff)
parent9705ba8a148d03dfd4c2184f3a1f13ee373eb826 (diff)
Merge branch 'lukeshu/archlinux+cleanup+librelib' into lukeshu/xbs
# Conflicts: # config # cron-jobs/makepkg.conf # cron-jobs/update-web-db # db-functions # db-move # db-remove # db-update # test/lib/common.inc # test/test.d/create-filelists.sh # test/test.d/db-update.sh # testing2x
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update6
1 files changed, 6 insertions, 0 deletions
diff --git a/db-update b/db-update
index 559ef3f..c55869e 100755
--- a/db-update
+++ b/db-update
@@ -54,6 +54,12 @@ for repo in "${repos[@]}"; do
if ! check_packager "${pkg}"; then
die "Package ${repo}/${pkg##*/} does not have a valid packager"
fi
+ if ! check_buildinfo "${pkg}"; then
+ die "Package ${repo}/${pkg##*/} does not have a .BUILDINFO file"
+ fi
+ if ! check_builddir "${pkg}"; then
+ die "Package ${repo}/${pkg##*/} was not built in a chroot"
+ fi
done
if ! check_splitpkgs "${repo}" "${pkgs[@]}"; then
die "Missing split packages for %s" "${repo}"