Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 4ed10a2..045f8ca 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -624,6 +624,10 @@ mysql_generate_package_metadata() {
# do a sanity check on the mysql database
mysql_sanity_check() {
+ # retrieve repository_ids if not yet done
+ if [ -z "${repository_ids__any_build_list}" ]; then
+ mysql_retrieve_repository_ids
+ fi
{
printf 'SELECT CONCAT("\\"any\\" build-assignment building \\"",`bp_arch`.`name`,"\\" binary package: ",`binary_packages`.`pkgname`)'
printf ' FROM `binary_packages`'