index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-02-16 11:14:03 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-16 11:14:03 +0100 |
commit | d2e0ef2a558e27e07150f239d91e4c29ce822426 (patch) | |
tree | f11a28ba418ecd8fae69fa7fcd3bd6a2623a8dfd /bin/common-functions | |
parent | d7a7e5cebf55c13ab3522e6ec17e11cba878da73 (diff) |
-rwxr-xr-x | bin/common-functions | 5 |
diff --git a/bin/common-functions b/bin/common-functions index d7f3e41..a84271b 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -478,9 +478,8 @@ remove_old_package_versions() { printf '`binary_packages`.`sub_pkgrel`' printf ')' printf ' FROM `binary_packages`' - printf ' JOIN `%s` ON `%s`.`id`=`binary_packages`.`%s`' \ - 'repositories' 'repositories' 'repository' \ - 'architectures' 'architectures' 'architecture' + mysql_join_binary_packages_repositories + mysql_join_binary_packages_architectures printf ' JOIN `repository_stability_relations` ON `repository_stability_relations`.`less_stable`=`repositories`.`stability`' printf ' JOIN `repositories` AS `more_stable_repos` ON `repository_stability_relations`.`more_stable`=`more_stable_repos`.`stability`' # name must match |