Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-update6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/db-update b/bin/db-update
index 88c567d..4c6ae8e 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -683,12 +683,10 @@ mysql_query_update_replaced_bpir() {
# somewhat inaccurate
{
- printf '{\n'
- printf ' mysql_run_query'
- printf ' | sort -u'
+ printf 'mysql_run_query'
printf ' >> "%s/rm"\n' \
"${perma_tmp_dir}"
- printf '} <<END_OF_MYSQL_QUERY\n'
+ printf ' <<END_OF_MYSQL_QUERY\n'
printf 'CREATE TEMPORARY TABLE `replaced_bpir` (`id` BIGINT, UNIQUE KEY (`id`));\n'
printf 'CREATE TEMPORARY TABLE `moved_bpir` (`id` BIGINT, `new_repository` MEDIUMINT, UNIQUE KEY (`id`));\n'