reads TPOT_TYPE variable from .env, and copies the appropriate file from compose to docker-compose.yml

This commit is contained in:
Daniel Ortiz 2025-07-04 20:18:37 -04:00
parent a116fdcb26
commit b3c0438b1c

View file

@ -85,7 +85,7 @@ function fuSELFUPDATE () {
elif [ "$TPOT_TYPE" == "MOBILE" ]; then elif [ "$TPOT_TYPE" == "MOBILE" ]; then
cp compose/mobile.yml docker-compose.yml cp compose/mobile.yml docker-compose.yml
else else
TPOT_TYPE="HIVE" cp compose/standard.yml docker-compose.yml
fi fi
fi fi
} }
@ -237,7 +237,6 @@ if [ "$1" != "-y" ]; then
exit exit
fi fi
fuCHECK_VERSION fuCHECK_VERSION
fuCHECKINET "https://index.docker.io https://github.com" fuCHECKINET "https://index.docker.io https://github.com"
fuGETTPOTTYPE fuGETTPOTTYPE