From 4ffc601723d09d843461a7585a2ef06d9a8e27e1 Mon Sep 17 00:00:00 2001 From: Kharec Date: Wed, 11 Mar 2026 07:22:51 +0100 Subject: [PATCH] fix: avoid mangle backslash --- scripts/setup-postgres.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/setup-postgres.sh b/scripts/setup-postgres.sh index 77a2bda..27383c1 100755 --- a/scripts/setup-postgres.sh +++ b/scripts/setup-postgres.sh @@ -6,13 +6,13 @@ if [ "$EUID" -ne 0 ]; then exit 1 fi -read -s "Do you want to install PostgreSQL 18? [y/N] " INSTALL_PG +read -rp "Do you want to install PostgreSQL 18? [y/N] " INSTALL_PG if [ "$INSTALL_PG" != "y" ]; then echo "PostgreSQL 18 will not be installed" exit 0 fi -read -s -p "Enter password for PostgreSQL user 'goyco': " GOYCO_PWD +read -rsp "Enter password for PostgreSQL user 'goyco': " GOYCO_PWD echo apt-get update