summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-09-10 01:04:25 +0200
committerPierre Schmitz <pierre@archlinux.de>2014-11-01 12:13:34 +0100
commit4fcedea4ae5fb8788c7ef0ddd907ed8b02d14a5b (patch)
tree7b0fa5e49907219473dbf4d56c6033cd1c279d84 /db-update
parent278d07fb2b72951e1f03154df55bb833cc38d29b (diff)
downloaddbscripts-4fcedea4ae5fb8788c7ef0ddd907ed8b02d14a5b.tar.gz
dbscripts-4fcedea4ae5fb8788c7ef0ddd907ed8b02d14a5b.tar.xz
disallow packages without a valid PACKAGER
Shame. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
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 576fe2b..cdc35a5 100755
--- a/db-update
+++ b/db-update
@@ -51,6 +51,9 @@ for repo in ${repos[@]}; do
if ! check_pkgrepos "${pkg}"; then
die "Package ${repo}/${pkg##*/} already exists in another repository"
fi
+ if ! check_packager "${pkg}"; then
+ die "Package ${repo}/${pkg##*/} does not have a valid packager"
+ fi
done
if ! check_splitpkgs ${repo} ${pkgs[@]}; then
die "Missing split packages for ${repo}"