postgres.10.template: purge postgres-13 rather than 12. (#497)
authorMichael Fitz-Payne <fitzy@discourse.org>
Wed, 9 Dec 2020 02:28:04 +0000 (12:28 +1000)
committerGitHub <noreply@github.com>
Wed, 9 Dec 2020 02:28:04 +0000 (12:28 +1000)
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

index dead6295211ffb3c53024a213e93ed1fa0a83f9f..611f0bb443305218ed8cc479b8da89d4bac05b95 100644 (file)
@@ -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