summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-12-02 18:06:45 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-12-02 18:06:45 +0100
commit6037b3e9aa414d94cd14b8c51b9b04be054c5e04 (patch)
treed13b294ee5cb4f2f755825d6af6e8e3b918c69cd /db-update
parent69721f4e42fa296de2d5a568d07758888c354328 (diff)
downloaddbscripts-6037b3e9aa414d94cd14b8c51b9b04be054c5e04.tar.gz
dbscripts-6037b3e9aa414d94cd14b8c51b9b04be054c5e04.tar.xz
db-update: Fail if a set of split packages is incomplete
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/db-update b/db-update
index 49ecbde..3a49f0a 100755
--- a/db-update
+++ b/db-update
@@ -42,6 +42,9 @@ for repo in ${repos[@]}; do
die "Package ${repo}/$(basename ${pkg}) already exists in another repository"
fi
done
+ if ! check_splitpkgs ${repo} ${pkgs[@]}; then
+ die "Missing split packages for ${repo}"
+ fi
else
die "Could not read ${STAGING}"
fi