Compare commits

...

3 commits

Author SHA1 Message Date
natitomattis
347dbc5fcc
Merge bec64f2306 into fd8061eacf 2025-06-06 12:27:27 +02:00
natitomattis
bec64f2306 typo 2025-04-10 07:59:15 -03:00
natitomattis
b08bd2bd1c small fix on upgrade.sh 2025-04-10 07:35:27 -03:00

View file

@ -188,6 +188,10 @@ function fuRESTORE () {
fi
echo "### Restoring T-Pot config file .env"
tar xvf $myARCHIVE .env -C $HOME/tpotce >/dev/null 2>&1
# Backup file (.env) contains a record of the TPOT_VERSION that is used in docker-compose commmands.
# We should upgrade the version in this file after restoring the backup.
newVERSION=$(cat version)
sed -i 's/^TPOT_VERSION=.*/TPOT_VERSION=${newVERSION}/' $HOME/tpotce/.env
}
################