Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates8
1 files changed, 7 insertions, 1 deletions
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