Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 13:56:58 +0200
committerErich Eckner <git@eckner.net>2018-05-30 13:56:58 +0200
commitfbc103db001070314ef2fbd5bb86249337fb1181 (patch)
treedc3d5947d6caf0f27735d0238af057b09abbfd23
parent8cac4808a87e1d85e9d6d39d9f5fbac8134b9b42 (diff)
bin/delete-packages: do not write `binary_packages`.`repository`
-rwxr-xr-xbin/delete-packages4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index 7b48a3f..ce5233f 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -262,9 +262,7 @@ fi
printf ' JOIN `to_deletes` ON `to_deletes`.`id`=`binary_packages`.`id`'
mysql_join_binary_packages_binary_packages_in_repositories
# shellcheck disable=SC2154
- printf ' SET `binary_packages`.`repository`=%s,' \
- "${repository_ids__any_deletion_list}"
- printf '`binary_packages_in_repositories`.`repository`=%s;\n' \
+ printf ' SET `binary_packages_in_repositories`.`repository`=%s;\n' \
"${repository_ids__any_deletion_list}"
} | \
mysql_run_query