Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/mysql-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index ad83618..263b4bc 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -496,7 +496,8 @@ mysql_generate_package_metadata() {
'pkgrel' 'pkgrel'
printf ') LEFT'
mysql_join_binary_packages_binary_packages_in_repositories
- printf ' WHERE `binary_packages_in_repositories`.`id` IS NULL;\n'
+ printf ' WHERE `binary_packages_in_repositories`.`id` IS NULL'
+ printf ' AND `binary_packages`.`sha512sum` IS NULL;\n'
fi
printf 'INSERT IGNORE INTO `install_targets` (`name`)'