Skip to content

Commit

Permalink
Fix perms
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange committed Sep 16, 2022
1 parent 8bf5cce commit 47bd1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/install-postgres.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
exit 1
fi

if [ "${ID}" = "debian" -o "${ID}" = "ubuntu" ]; then
if [ "${ID}" = "debian" ]; then
export DEBIAN_FRONTEND=noninteractive

apt-get install -y --no-install-recommends curl gnupg ca-certificates
Expand All @@ -27,7 +27,7 @@ if [ "${ID}" = "debian" -o "${ID}" = "ubuntu" ]; then
apt-get install -y --no-install-recommends \
"postgresql-${PGVERSION}" \
"postgresql-contrib-${PGVERSION}"
elif [ "${ID}" = "centos" ]; then
elif [ "${ID}" = "centos" -o "${ID}" = "almalinux" ]; then
el="EL-${VERSION_ID%.*}-$(arch)"
baseurl="https://download.postgresql.org/pub/repos/yum/reporpms"
yum install -y "${baseurl}/${el}/pgdg-redhat-repo-latest.noarch.rpm"
Expand Down

0 comments on commit 47bd1b6

Please sign in to comment.