From 4897440367aad609a2be1041cf6987a2ab708a87 Mon Sep 17 00:00:00 2001
From: Alexander Wellbrock <a.wellbrock@mailbox.org>
Date: Thu, 14 Jan 2021 14:37:11 +0100
Subject: [PATCH] disable shellcheck rule SC2015

The rule notes that this could be mis-used as if-then-else. This is
intended here, since the logic is not meant to be if-then-else but
rather if-then-anyway
---
 resources/shell-tools/bin/pull.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/resources/shell-tools/bin/pull.sh b/resources/shell-tools/bin/pull.sh
index 97ad9d3..934c976 100755
--- a/resources/shell-tools/bin/pull.sh
+++ b/resources/shell-tools/bin/pull.sh
@@ -67,14 +67,17 @@ fi
 
 IMAGE_PULL_SUCCESS=0
 
+# shellcheck disable=SC2015
 podman pull "$CONTAINER_IMAGE_NAME" && \
   IMAGE_PULL_SUCCESS=1 || \
   true
 
+# shellcheck disable=SC2015
 podman pull "$CONTAINER_IMAGE_NAME-amd64" && \
   IMAGE_PULL_SUCCESS=1 || \
   true
 
+# shellcheck disable=SC2015
 podman pull "$CONTAINER_IMAGE_NAME-arm64" || \
   podman pull "$CONTAINER_IMAGE_NAME-aarch64" && \
   IMAGE_PULL_SUCCESS=1 || \
-- 
GitLab