This commit is contained in:
natitomattis 2025-04-10 07:59:15 -03:00
parent b08bd2bd1c
commit bec64f2306

View file

@ -188,7 +188,7 @@ function fuRESTORE () {
fi
echo "### Restoring T-Pot config file .env"
tar xvf $myARCHIVE .env -C $HOME/tpotce >/dev/null 2>&1
# Backupped file (.env) contains a record of the TPOT_VERSION that is used in docker-compose commmands.
# 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