File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- set -eu
3
+ set -eux
4
4
5
5
client_configure () {
6
6
sudo chmod 600 $PQSSLCERTTEST_PATH /postgresql.key
7
7
}
8
8
9
9
pgdg_repository () {
10
- local sourcelist=' sources.list.d/postgresql.list'
11
-
12
10
curl -sS ' https://www.postgresql.org/media/keys/ACCC4CF8.asc' | sudo apt-key add -
13
- echo deb http://apt.postgresql.org/pub/repos/apt/ $( lsb_release -cs) -pgdg main $PGVERSION | sudo tee " /etc/apt/$sourcelist "
14
- sudo apt-get -o Dir::Etc::sourcelist= " $sourcelist " -o Dir::Etc::sourceparts= ' - ' -o APT::Get::List-Cleanup= ' 0 ' update
11
+ echo " deb http://apt.postgresql.org/pub/repos/apt/ ` lsb_release -cs` -pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
12
+ sudo apt-get update
15
13
}
16
14
17
15
postgresql_configure () {
@@ -51,10 +49,10 @@ postgresql_configure() {
51
49
}
52
50
53
51
postgresql_install () {
54
- xargs sudo apt-get -y -o Dpkg::Options::= ' --force-confdef ' -o Dpkg::Options::= ' --force-confnew ' install << -packages
52
+ xargs sudo apt-get -y install << -packages
55
53
postgresql-$PGVERSION
54
+ postgresql-client-$PGVERSION
56
55
postgresql-server-dev-$PGVERSION
57
- postgresql-contrib-$PGVERSION
58
56
packages
59
57
}
60
58
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: go
3
3
go :
4
4
- 1.14.x
5
5
- 1.15.x
6
- - master
6
+ - 1.16.x
7
7
8
8
sudo : true
9
9
You can’t perform that action at this time.
0 commit comments