From 95ba26e1fbdccc68bf1d36815b1c88becacf5d7e Mon Sep 17 00:00:00 2001 From: Robson Tenorio Date: Fri, 11 Nov 2022 22:50:59 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste=20para=20verifica=C3=A7=C3=A3o=20do=20co?= =?UTF-8?q?nfig.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UPDATE.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/UPDATE.sh b/UPDATE.sh index 4807bcc8..727cde35 100644 --- a/UPDATE.sh +++ b/UPDATE.sh @@ -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 " " @@ -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 " "