Skip to content

Commit faad16d

Browse files
Use major version for rocky in cinc-installer.sh
This commit fixes a bug from aws#2992 This commit makes the code behave similar between rocky and el(redhat) Signed-off-by: Hanwen <[email protected]>
1 parent c14a480 commit faad16d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

util/cinc-install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,9 @@ case $platform in
579579
# FIXME: "el" is deprecated, should use "redhat"
580580
platform_version=$major_version
581581
;;
582+
"rocky")
583+
platform_version=$major_version
584+
;;
582585
"debian")
583586
if test "x$major_version" = "x5"; then
584587
# This is here for potential back-compat.

0 commit comments

Comments
 (0)