Skip to content

Commit

Permalink
Ajuste para verificação do config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Nov 12, 2022
1 parent 613bfd6 commit 95ba26e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions UPDATE.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash
echo ""
echo "██████╗ ██████╗ ███████╗███████╗███████╗ ████████╗██╗ ██████╗██╗ ██╗███████╗████████╗"
echo "██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝ ╚══██╔══╝██║██╔════╝██║ ██╔╝██╔════╝╚══██╔══╝"
echo "██████╔╝██████╔╝█████╗ ███████╗███████╗ ██║ ██║██║ █████╔╝ █████╗ ██║ "
echo "██╔═══╝ ██╔══██╗██╔══╝ ╚════██║╚════██║ ██║ ██║██║ ██╔═██╗ ██╔══╝ ██║ "
echo "██║ ██║ ██║███████╗███████║███████║ ██║ ██║╚██████╗██║ ██╗███████╗ ██║ "
echo "╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═╝ "
echo " "
echo "ATUALIZANDO PARA A VERSÃO MAIS RECENTE DO PRESS TICKET!"
echo " "

sleep 2

echo " "
Expand Down Expand Up @@ -49,6 +57,24 @@ sleep 2

cd ../frontend

sleep 2

echo " "
echo "VERIFICANDO O CONFIG.JSON"
echo " "

sleep 2

if [ ! -e src/config.json ]; then
echo "Criando o arquivo config.json"
cp src/config.json.example src/config.json
else
echo "O arquivo config.json já existe"
fi


sleep 2

echo " "
echo "ATUALIZANDO OS ARQUIVOS DO FRONTEND"
echo " "
Expand Down

0 comments on commit 95ba26e

Please sign in to comment.