We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bf5cce commit 47bd1b6Copy full SHA for 47bd1b6
.github/workflows/install-postgres.sh
@@ -15,7 +15,7 @@ else
15
exit 1
16
fi
17
18
-if [ "${ID}" = "debian" -o "${ID}" = "ubuntu" ]; then
+if [ "${ID}" = "debian" ]; then
19
export DEBIAN_FRONTEND=noninteractive
20
21
apt-get install -y --no-install-recommends curl gnupg ca-certificates
@@ -27,7 +27,7 @@ if [ "${ID}" = "debian" -o "${ID}" = "ubuntu" ]; then
27
apt-get install -y --no-install-recommends \
28
"postgresql-${PGVERSION}" \
29
"postgresql-contrib-${PGVERSION}"
30
-elif [ "${ID}" = "centos" ]; then
+elif [ "${ID}" = "centos" -o "${ID}" = "almalinux" ]; then
31
el="EL-${VERSION_ID%.*}-$(arch)"
32
baseurl="https://download.postgresql.org/pub/repos/yum/reporpms"
33
yum install -y "${baseurl}/${el}/pgdg-redhat-repo-latest.noarch.rpm"
0 commit comments