Skip to content

Commit

Permalink
fix(psql): Updated psql repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Malinowski authored and Edward Malinowski committed Feb 12, 2024
1 parent 0f98195 commit 080255b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen3/bin/kube-setup-workvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if sudo -n true > /dev/null 2>&1 && [[ $(uname -s) == "Linux" ]]; then
# https://www.postgresql.org/download/linux/ubuntu/
DISTRO="$(lsb_release -c -s)" # ex - xenial
if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then
echo "deb http://apt.postgresql.org/pub/repos/apt/ ${DISTRO}-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ ${DISTRO}-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
fi
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo -E apt-get -qq update
Expand Down Expand Up @@ -361,4 +361,4 @@ fi
fi
)

source ${WORKSPACE}/.${RC_FILE}
source ${WORKSPACE}/.${RC_FILE}

0 comments on commit 080255b

Please sign in to comment.