Skip to content

Commit 47bd1b6

Browse files
authored
Fix perms
1 parent 8bf5cce commit 47bd1b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/install-postgres.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ else
1515
exit 1
1616
fi
1717

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

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

0 commit comments

Comments
 (0)