From 3e465a25bf67d07f3b79f028ba22fdfc53701869 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 12 May 2020 21:18:55 -0300 Subject: [PATCH] Remove all pg12 traces so pg_wrapper doesn't get confused --- templates/postgres.10.template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/postgres.10.template.yml b/templates/postgres.10.template.yml index 63f06bd..fb5b252 100644 --- a/templates/postgres.10.template.yml +++ b/templates/postgres.10.template.yml @@ -19,7 +19,7 @@ hooks: to: sv start postgres || exit 1 run: - - exec: apt-get remove -y postgresql-12 postgresql-client-12 postgresql-contrib-12 + - exec: DEBIAN_FRONTEND=noninteractive apt-get purge -y postgresql-12 postgresql-client-12 postgresql-contrib-12 - exec: apt-get update && apt-get install -y postgresql-10 postgresql-client-10 postgresql-contrib-10 - exec: mkdir -p /shared/postgres_run - exec: chown postgres:postgres /shared/postgres_run -- 2.25.1