Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-update3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index 327e29f..9dc13b4 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -413,8 +413,7 @@ for source_stability in 'testing' 'staging'; do
printf 'UPDATE `binary_packages`'
printf ' JOIN `moved_binary_packages` ON `binary_packages`.`id`=`moved_binary_packages`.`id`'
mysql_join_binary_packages_binary_packages_in_repositories
- printf ' SET `binary_packages`.`repository`=`moved_binary_packages`.`new_repository`,'
- printf '`binary_packages_in_repositories`.`repository`=`moved_binary_packages`.`new_repository`,'
+ printf ' SET `binary_packages_in_repositories`.`repository`=`moved_binary_packages`.`new_repository`,'
printf '`binary_packages`.`last_moved`=NOW()'
printf ' WHERE `binary_packages_in_repositories`.`repository`!=`moved_binary_packages`.`new_repository`;\n'
} | \