Skip to content

Commit ad18bcd

Browse files
authored
Merge pull request #3023 from afbjorklund/epel-el10
Allow running Enterprise Linux release 10 too
2 parents e57c143 + 1fb2529 commit ad18bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ elif command -v dnf >/dev/null 2>&1; then
8787
dnf install ${dnf_install_flags} oracle-epel-release-el9
8888
dnf config-manager --disable ol9_developer_EPEL >/dev/null 2>&1
8989
dnf_install_flags="${dnf_install_flags} --enablerepo ol9_developer_EPEL"
90-
elif grep -q "release 9" /etc/system-release; then
90+
elif grep -q -E "release (9|10)" /etc/system-release; then
9191
# shellcheck disable=SC2086
9292
dnf install ${dnf_install_flags} epel-release
9393
dnf config-manager --disable epel >/dev/null 2>&1

0 commit comments

Comments
 (0)