summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions
index c4f9d82..4c852ac 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -148,8 +148,8 @@ remove_old_package_versions() {
printf '`d_r`.`name`,"/",'
mysql_package_name_query 'd_bp' 'd_bpa'
printf ')'
- printf ' FROM `binary_packages` AS `d_bp`'
- mysql_join_binary_packages_binary_packages_in_repositories 'd_bp' 'd_bpir'
+ printf ' FROM `binary_packages_in_repositories` AS `d_bpir`'
+ mysql_join_binary_packages_in_repositories_binary_packages 'd_bpir' 'd_bp'
mysql_join_binary_packages_in_repositories_repositories 'd_bpir' 'd_r'
printf ' AND `d_r`.`is_on_master_mirror`'
mysql_join_repositories_architectures 'd_r' 'd_ra'