From dcdb97d1a56c257e6cbbdb42ed96f02b6d9f875d Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios <20590102+rodber@users.noreply.github.com> Date: Wed, 1 May 2024 10:19:19 -0400 Subject: [PATCH] added lazy failover --- scripts/system/chevereto.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/system/chevereto.sh b/scripts/system/chevereto.sh index c1c97c9..367aa59 100755 --- a/scripts/system/chevereto.sh +++ b/scripts/system/chevereto.sh @@ -2,6 +2,8 @@ set -e DOWNLOAD_DIR=${PWD}"/.temp" WORKING_DIR=${PWD}"/chevereto" +VERSION=${VERSION:-"4"} +IMAGE_NAME=${IMAGE_NAME:-"chevereto"} PACKAGE=${VERSION} if [ -z ${CHEVERETO_LICENSE_KEY+x} ]; then echo -n "Chevereto V4 License key (for paid edition): 🔑" @@ -18,7 +20,7 @@ echo " ..." echo "* NOTE: Using [[ ${DOWNLOADING} ]] edition package" rm -rf $DOWNLOAD_DIR $WORKING_DIR mkdir -p $DOWNLOAD_DIR $WORKING_DIR -echo "* Downloading chevereto/v4 $PACKAGE package" +echo "* Downloading Chevereto V$PACKAGE package" echo "> ${API_DOWNLOAD}${PACKAGE}" cd $DOWNLOAD_DIR curl -f -SOJL \