Skip to content

Commit

Permalink
Cambiado de posición el cambio de directorio
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Cuezva committed Apr 21, 2021
1 parent b1f0289 commit f2a0484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updateTeslaMate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ PATH_BACKUP=$HOME/TeslaMateBackup
echo '¿Deseas hacer una copia de seguridad de la base de datos (s/n)? '
read answer

cd $PATH_COMPOSE
if [ "$answer" != "${answer#[Ss]}" ] ;then
$PATH_SCRIPT/backupTeslaMate.sh
fi

cd $PATH_COMPOSE
echo -e '\n---- Comenzando la actualización ----\n'
docker-compose pull
echo -e '\n---- Finalizada la actualización ----\n'
Expand Down

0 comments on commit f2a0484

Please sign in to comment.