From c60d49b42bfdb10d9d82cfd0a288533ceb059aae Mon Sep 17 00:00:00 2001 From: Christian Tosta Date: Mon, 9 Jun 2025 15:30:16 -0300 Subject: [PATCH] =?UTF-8?q?Retira=20caracteres=20inv=C3=A1lidos=20da=20sen?= =?UTF-8?q?ha?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sig-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sig-installer b/sig-installer index 2d212cb..bb03203 100755 --- a/sig-installer +++ b/sig-installer @@ -645,7 +645,7 @@ function produto.install { # Create/Alter PostgreSQL user local _dbuser="openerp" - local _password=$(openssl rand -base64 32 | 's/[/+-_=]//g') + local _password=$(openssl rand -base64 32 | sed 's/[/+-_=]//g') ${ui}.status info $"Criando/Atualizando usuário do banco de dados [%s]" ${PRODUTO} sudo -iu postgres \ psql -c \ @@ -772,7 +772,7 @@ function produto.install { # -- Configuração do banco de dados PostgreSQL local _db_name=${PRODUTO} local _db_user=${_db_name} - local _db_pass=$(openssl rand -base64 32 | 's/[/+-_=]//g') + local _db_pass=$(openssl rand -base64 32 | sed 's/[/+-_=]//g') ${ui}.status info $"Configurando o banco de dados [%s]" ${_db_name}} sudo -iu postgres \ psql -c \