Skip to content

Commit 1fb2529

Browse files
committed
Allow running Enterprise Linux release 10 too
Signed-off-by: Anders F Björklund <[email protected]>
1 parent f5ed996 commit 1fb2529

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)