File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ if [ "$(ls -A postgresql)" ]; then
1717 git -C postgresql pull
1818else
1919 pgmajornum=" ${PGVERSION%% .* } "
20- if [ " ${pgmajornum} " -gt ' 12 ' ]; then
21- # twelve is highest stable build; use master for higher
20+ if [ " ${pgmajornum} " -gt ' 13 ' ]; then
21+ # 13 is highest stable build; use master for higher
2222 gitref=" master"
2323 elif [ " ${pgmajornum} " -gt ' 9' ]; then
2424 gitref=" REL_${PGVERSION} _STABLE"
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7FCC7D46ACCC4CF8
1212sudo rm -f /etc/apt/sources.list.d/google-chrome*
1313sudo rm -f /etc/apt/sources.list.d/pgdg.list
1414
15- # add the PostgreSQL 12 repository
16- sudo sh -c ' echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main 12 " >> /etc/apt/sources.list.d/postgresql.list'
15+ # add the PostgreSQL 13 repository
16+ sudo sh -c ' echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main 13 " >> /etc/apt/sources.list.d/postgresql.list'
1717
18- # need testing repository after version 12
19- if [ " ${PGVERSION%% .* } " -gt ' 12 ' ]; then
18+ # need testing repository after version 13
19+ if [ " ${PGVERSION%% .* } " -gt ' 13 ' ]; then
2020 # add a PostgreSQL testing repository
2121 sudo sh -Ec ' echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg-testing main ${PGVERSION}" >> /etc/apt/sources.list.d/postgresql.list'
2222
You can’t perform that action at this time.
0 commit comments