index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-05-23 10:25:00 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-05-23 10:25:00 +0200 |
commit | fda3aa597e40493381fa2aeefe5a2bdc68f28521 (patch) | |
tree | bde4790382af9980d7fae3b2129e1011e218c344 /bin | |
parent | ac47ff9181f82602376dc809f7ec144807c995cd (diff) |
-rwxr-xr-x | bin/get-package-updates | 8 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 7d1aff2..4d2a8f9 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -439,12 +439,18 @@ while read -r pkgbase repository git_revision mod_git_revision; do mysql_join_binary_packages_in_repositories_binary_packages mysql_join_binary_packages_build_assignments mysql_join_build_assignments_package_sources + mysql_join_package_sources_upstream_repositories printf ' SET `binary_packages_in_repositories`.`is_to_be_deleted`=0' - printf ' WHERE `package_sources`.`pkgbase`=from_base64("%s");\n' \ + printf ' WHERE `package_sources`.`pkgbase`=from_base64("%s")' \ "$( printf '%s' "${pkgbase}" \ | base64 -w0 )" + printf ' AND `upstream_repositories`.`name`=from_base64("%s");\n' \ + "$( + printf '%s' "${repository}" \ + | base64 -w0 + )" } \ | mysql_run_query # shellcheck disable=SC2154 |