From 47787f9d4464cbd28663ed009b75a9881beb4b72 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 14 Jun 2023 22:32:52 -0500 Subject: [PATCH] check_allsky.sh: remove duplicate checks --- scripts/check_allsky.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/scripts/check_allsky.sh b/scripts/check_allsky.sh index b8e5920e2..595a00303 100755 --- a/scripts/check_allsky.sh +++ b/scripts/check_allsky.sh @@ -588,28 +588,6 @@ if [[ -f ${ALLSKY_REMOTE_WEBSITE_CONFIGURATION_FILE} && (${PROTOCOL} == "" || ${ echo "A remote Allsky Website configuration file was found but PROTOCOL doesn't support uploading files." fi -if [[ ${WEBSITES} != "none" ]]; then - if [[ ${IMG_UPLOAD} == "false" ]]; then - heading "Warnings" - echo "You have an Allsky Website but no images are being uploaded to it (IMG_UPLOAD=false)." - fi - if [[ ${TIMELAPSE} == "true" && ${UPLOAD_VIDEO} == "false" ]]; then - heading "Warnings" - echo "You have an Allsky Website and timelapse videos are being created (TIMELAPSE=true)," - echo "but they are not being uploaded (UPLOAD_VIDEO=false)." - fi - if [[ ${KEOGRAM} == "true" && ${UPLOAD_KEOGRAM} == "false" ]]; then - heading "Warnings" - echo "You have an Allsky Website and keograms are being created (KEOGRAM=true)," - echo "but they are not being uploaded (UPLOAD_KEOGRAM=false)." - fi - if [[ ${STARTRAILS} == "true" && ${UPLOAD_STARTRAILS} == "false" ]]; then - heading "Warnings" - echo "You have an Allsky Website and startrails are being created (STARTRAILS=true)," - echo "but they are not being uploaded (UPLOAD_STARTRAILS=false)." - fi -fi - # ======================================================================