summaryrefslogtreecommitdiffstats
path: root/pgdg/update
blob: 4a937df6fac5fbb1bbabfa49473479af3ac44e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

. $HOME/apt.postgresql.org/pgapt.conf

set -eux

sed -i \
    -e "s/^PG_BETA_VERSION=.*/PG_BETA_VERSION=\"${PG_BETA_VERSION:-}\"/" \
    -e "s/^PG_DEVEL_VERSION=.*/PG_DEVEL_VERSION=\"$PG_DEVEL_VERSION\"/" \
    -e "s/^PG_REPOSITORY_DISTS=.*/PG_REPOSITORY_DISTS=\"$PG_REPOSITORY_DISTS\"/" \
    -e "s/^PG_ARCHIVE_DISTS=.*/PG_ARCHIVE_DISTS=\"$PG_ARCHIVE_DISTS\"/" \
    apt.postgresql.org.sh