From 10f7220fb616c1319fe9cf0547c85a205124f8ca Mon Sep 17 00:00:00 2001 From: Kharec Date: Thu, 20 Nov 2025 18:55:05 +0100 Subject: [PATCH] feat: install pg 18 --- scripts/setup-postgres.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/setup-postgres.sh b/scripts/setup-postgres.sh index b8999c9..5b21980 100755 --- a/scripts/setup-postgres.sh +++ b/scripts/setup-postgres.sh @@ -6,9 +6,9 @@ if [ "$EUID" -ne 0 ]; then exit 1 fi -read -s "Do you want to install PostgreSQL 17? [y/N] " INSTALL_PG +read -s "Do you want to install PostgreSQL 18? [y/N] " INSTALL_PG if [ "$INSTALL_PG" != "y" ]; then - echo "PostgreSQL 17 will not be installed" + echo "PostgreSQL 18 will not be installed" exit 0 fi @@ -16,7 +16,7 @@ read -s -p "Enter password for PostgreSQL user 'goyco': " GOYCO_PWD echo apt-get update -apt-get install -y postgresql-17 +apt-get install -y postgresql-18 systemctl enable --now postgresql @@ -43,6 +43,6 @@ END GRANT ALL PRIVILEGES ON DATABASE goyco TO goyco; EOF -echo "PostgreSQL 17 installed, database 'goyco' and user 'goyco' set up." +echo "PostgreSQL 18 installed, database 'goyco' and user 'goyco' set up."