From df5a84b6db1bfb3af64b6c44a3c487ed11a92881 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Tue, 8 Jun 2021 14:23:05 +0200 Subject: [PATCH] postgreql 13 --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 2f79f89..189e0f3 100755 --- a/run.sh +++ b/run.sh @@ -27,7 +27,7 @@ if [ "$1" = "import" ]; then # Ensure that database directory is in right state chown postgres:postgres -R /var/lib/postgresql if [ ! -f /var/lib/postgresql/13/main/PG_VERSION ]; then - sudo -u postgres /usr/lib/postgresql/12/bin/pg_ctl -D /var/lib/postgresql/12/main/ initdb -o "--locale C.UTF-8" + sudo -u postgres /usr/lib/postgresql/13/bin/pg_ctl -D /var/lib/postgresql/13/main/ initdb -o "--locale C.UTF-8" fi # Initialize PostgreSQL