Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/delete-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-05 20:26:21 +0200
committerErich Eckner <git@eckner.net>2021-06-05 20:26:21 +0200
commit6f59df0faa06e9e5b2127d8376b12bb1cf2db5fd (patch)
treeb380377a92c28beb05b8b249905b684fe4a7cd9e /bin/delete-packages
parent8e9130a9d21a2d73f8c354e2a3f1d9ccc6f7ea73 (diff)
make shellcheck happy again
Diffstat (limited to 'bin/delete-packages')
-rwxr-xr-xbin/delete-packages2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index a2e932c..2bb3072 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -152,6 +152,7 @@ export TMPDIR="${tmp_dir}"
{
printf 'CREATE TEMPORARY TABLE `bpir_to_delete` (`id` BIGINT, UNIQUE KEY (`id`));\n'
printf 'INSERT IGNORE INTO `bpir_to_delete`'
+ # shellcheck disable=SC2030
if [ -n "${force_packages}" ]; then
printf ' SELECT'
printf ' `binary_packages_in_repositories`.`id`'
@@ -342,6 +343,7 @@ export TMPDIR="${tmp_dir}"
}
'
+# shellcheck disable=SC2031
if [ -n "${build_support}" ] && \
[ -w "${build_support}" ] && \
[ ! -p "${build_support}" ]; then