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/mysql-functions8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions
index 1cd68cf..f30c9a2 100755
--- a/bin/mysql-functions
+++ b/bin/mysql-functions
@@ -567,8 +567,6 @@ mysql_generate_package_metadata() {
printf ' `binary_packages`'
printf ' JOIN `architectures`'
printf ' ON `binary_packages`.`architecture` = `architectures`.`id`'
- printf ' JOIN `repositories`'
- printf ' ON `binary_packages`.`repository` = `repositories`.`id`'
printf ' JOIN `install_targets`'
printf ' JOIN `%s`' "${link}"
printf ' ON `%s`.`name` = `install_targets`.`name`' "${link}"
@@ -589,10 +587,10 @@ mysql_generate_package_metadata() {
# b) it is not necessary to do so: if only the sub_pkgrel
# changed, the dependencies and provided install_targets
# should not have changed
- printf ' `architectures`.`name` = from_base64("%s") AND' \
+ printf ' `architectures`.`name` = from_base64("%s");\n' \
"${arch}"
- printf ' `repositories`.`name` = from_base64("%s");\n' \
- "${current_repository}"
+ # the repository is of no relevance: it hardly matters for
+ # the dependencies
done
printf 'DROP TABLE `%s`;\n' \