summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/db-update b/bin/db-update
index 468ac34..c3e0c85 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -253,8 +253,8 @@ for source_stability in \
mysql_join_dependencies_versions '' 'd_v'
printf ' WHERE NOT EXISTS ('
printf 'SELECT 1 FROM `install_target_providers`'
- mysql_join_install_target_providers_binary_packages_in_repositories
- mysql_join_binary_packages_in_repositories_repositories
+ mysql_join_install_target_providers_binary_packages_in_repositories '' 'itp_bpir'
+ mysql_join_binary_packages_in_repositories_repositories 'itp_bpir' 'itp_r'
mysql_join_install_target_providers_versions '' 'itp_v'
printf ' WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`'
printf ' AND'
@@ -262,7 +262,7 @@ for source_stability in \
'`d_v`.`order`' \
'`itp_v`.`order`' \
'`dependencies`.`version_relation`'
- printf ' AND `repositories`.`architecture`=`old_r`.`architecture`'
+ printf ' AND `itp_r`.`architecture`=`old_r`.`architecture`'
# TODO: also, we might want to consider the stability of the repo
# For this, we would need to determine the least stable package
# which is not less stable than the target repo