diff options
-rwxr-xr-x | aurweb/git/update.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aurweb/git/update.py b/aurweb/git/update.py index 3b84eb5d..532db92d 100755 --- a/aurweb/git/update.py +++ b/aurweb/git/update.py @@ -308,6 +308,9 @@ def main(): die_commit('invalid pkgbase: {:s}'.format(metadata_pkgbase), str(commit.id)) + if not metadata['packages']: + die_commit('missing pkgname entry', str(commit.id)) + for pkgname in set(metadata['packages'].keys()): pkginfo = srcinfo.utils.get_merged_package(pkgname, metadata) |