From e2a29d75644b5e9f634c848f8436f786e1297718 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:05:45 -0600 Subject: [PATCH] Update installUpgradeFunctions.sh: fix comparison Fixes #4085 --- scripts/installUpgradeFunctions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/installUpgradeFunctions.sh b/scripts/installUpgradeFunctions.sh index d7581df40..3ee337277 100644 --- a/scripts/installUpgradeFunctions.sh +++ b/scripts/installUpgradeFunctions.sh @@ -500,11 +500,11 @@ function replace_website_placeholders() MINI_TLAPSE_URL_VALUE="" else MINI_TLAPSE_DISPLAY_VALUE="true" - if [[ ${DO_REMOTE_WEBSITE} == "true" ]]; then - MINI_TLAPSE_URL_VALUE="mini-timelapse.mp4" - else + if [[ ${TYPE} == "local" ]]; then #shellcheck disable=SC2153 MINI_TLAPSE_URL_VALUE="/${IMG_DIR}/mini-timelapse.mp4" + else + MINI_TLAPSE_URL_VALUE="mini-timelapse.mp4" fi fi else