From a7af16f69a1d9f4998b2fd13bb79561611f716f1 Mon Sep 17 00:00:00 2001 From: Daniel Ortiz Date: Sat, 12 Jul 2025 20:41:20 -0400 Subject: [PATCH] momentarily changes the fork branch --- update.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/update.sh b/update.sh index 411e8583..fd6a5f29 100755 --- a/update.sh +++ b/update.sh @@ -70,20 +70,17 @@ function fuSELFUPDATE () { git pull --force # check if myTPOT_TYPE is set if [ -z "$myTPOT_TYPE" ]; then - myTPOT_TYPE="HIVE" - exec ./update.sh -y $myTPOT_TYPE + exec ./update.sh else exec ./update.sh -y $myTPOT_TYPE + grep -q "^TPOT_TYPE=" .env && sed -i "s/^TPOT_TYPE=.*/TPOT_TYPE=${myTPOT_TYPE}/" .env + echo "### T-Pot type set to: $myTPOT_TYPE in .env" fi else echo "###### $myBLUE""Pulling updates from repository.""$myWHITE" git reset --hard git pull origin update --force fi - if [! -z "$myTPOT_TYPE" ]; then - echo "### Setting T-Pot type to: $myTPOT_TYPE" - grep -q "^TPOT_TYPE=" .env && sed -i "s/^TPOT_TYPE=.*/TPOT_TYPE=${myTPOT_TYPE}/" .env - fi exit 1 echo