From 5f4897b6323f5057a9cb4e7c75d73ff62f2f43a6 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Sat, 19 Oct 2024 20:15:39 -0600 Subject: [PATCH] Update remote_website_install.sh: shellcheck fix --- remote_website_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remote_website_install.sh b/remote_website_install.sh index 9183031ff..a7dfd032d 100755 --- a/remote_website_install.sh +++ b/remote_website_install.sh @@ -134,6 +134,7 @@ function display_box() local BACK_TITLE="${2}" local DIALOG_TITLE="${3}" local MORE_ARGS="${5}" + # shellcheck disable=SC2086 dialog \ --colors \ --backtitle "${BACK_TITLE}" \ @@ -459,7 +460,7 @@ function check_if_files_exist() HTTP_STATUS="$( curl -o /dev/null --silent --write-out "%{http_code}" "$url" )" local PRE_MSG="File ${FILE} ${url}" - if [ ${HTTP_STATUS} == "200" ]; then + if [[ ${HTTP_STATUS} == "200" ]] ; then show_debug_message "${PRE_MSG} exists on the remote server" RESULT=0 else