Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index aacf928..23486e2 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -825,8 +825,13 @@ trigger_mirror_refreshs
printf ' FROM `binary_packages` AS `built_bp`'
printf '%s;\n' "${join_part}"
printf 'INSERT IGNORE INTO `dependencies`'
- printf ' (`dependent`,`depending_on`,`dependency_type`)'
- printf ' SELECT `new_bp`.`id`,`dependencies`.`depending_on`,`dependencies`.`dependency_type`'
+ printf ' (`dependent`,`depending_on`,`dependency_type`,`version`,`version_relation`)'
+ printf ' SELECT `new_bp`.`id`'
+ printf ',`dependencies`.`%s`' \
+ 'depending_on' \
+ 'dependency_type' \
+ 'version' \
+ 'version_relation'
printf ' FROM `dependencies`'
mysql_join_dependencies_binary_packages '' 'built_bp'
printf '%s;\n' "${join_part}"