index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/db-update | 6 |
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' |