momentarily changes the fork branch

This commit is contained in:
Daniel Ortiz 2025-07-12 20:41:20 -04:00
parent 5e333eba59
commit a7af16f69a

View file

@ -70,20 +70,17 @@ function fuSELFUPDATE () {
git pull --force git pull --force
# check if myTPOT_TYPE is set # check if myTPOT_TYPE is set
if [ -z "$myTPOT_TYPE" ]; then if [ -z "$myTPOT_TYPE" ]; then
myTPOT_TYPE="HIVE" exec ./update.sh
exec ./update.sh -y $myTPOT_TYPE
else else
exec ./update.sh -y $myTPOT_TYPE 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 fi
else else
echo "###### $myBLUE""Pulling updates from repository.""$myWHITE" echo "###### $myBLUE""Pulling updates from repository.""$myWHITE"
git reset --hard git reset --hard
git pull origin update --force git pull origin update --force
fi 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 exit 1
echo echo