Skip to content

Commit 0f958a3

Browse files
committed
added rocky linux to distro list
1 parent 696b975 commit 0f958a3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

elements/elrepo/install.d/95-elrepo-packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fi
66

77
set -euo pipefail
88

9-
if [[ ${DISTRO_NAME} =~ (centos|rhel) && -n ${DIB_ELREPO_PKGLIST} ]]; then
9+
if [[ ${DISTRO_NAME} =~ (centos|rhel|rocky) && -n ${DIB_ELREPO_PKGLIST} ]]; then
1010
dnf install -y "${DIB_ELREPO_PKGLIST}"
1111
else
1212
echo "You must set the package list: \"$DIB_ELREPO_PKGLIST\"."

elements/elrepo/pre-install.d/01-elrepo

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ fi
77
set -euo pipefail
88

99
case "$DISTRO_NAME" in
10-
centos* | rhel*)
11-
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
12-
dnf install -y https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
10+
centos* | rhel* | rocky*)
11+
dnf install -y elrepo-release.noarch
1312

1413
if [ ${DIB_ELREPO_KERNEL:-0} -eq 1 ]; then
1514

0 commit comments

Comments
 (0)