From d9d810e23d70bded98f06d8a8bdb022c44586f68 Mon Sep 17 00:00:00 2001 From: Michael Fitz-Payne Date: Wed, 9 Dec 2020 12:28:04 +1000 Subject: [PATCH] postgres.10.template: purge postgres-13 rather than 12. (#497) This purge command was missed and caused issues with the database starting up correctly in some cases. Postgres-12 is no longer in the base image so this wouldn't be doing anything. --- 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 dead629..611f0bb 100644 --- a/templates/postgres.10.template.yml +++ b/templates/postgres.10.template.yml @@ -17,7 +17,7 @@ hooks: to: sv start postgres || exit 1 run: - - exec: DEBIAN_FRONTEND=noninteractive apt-get purge -y postgresql-12 postgresql-client-12 postgresql-contrib-12 + - exec: DEBIAN_FRONTEND=noninteractive apt-get purge -y postgresql-13 postgresql-client-13 postgresql-contrib-13 - 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