Skip to content

Commit bb4abc8

Browse files
authored
Recognize Oracle Linux (#14595)
1 parent 74a011d commit bb4abc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/native/init-distro-rid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ getNonPortableDistroRid()
2020
# shellcheck disable=SC1091
2121
if [ -e "${rootfsDir}/etc/os-release" ]; then
2222
. "${rootfsDir}/etc/os-release"
23-
if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ] || [ "${ID}" = "alpine" ]; then
23+
if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ] || [ "${ID}" = "alpine" ] || [ "${ID}" = "ol" ]; then
2424
VERSION_ID="${VERSION_ID%.*}" # Remove the last version digit for these distros
2525
fi
2626

0 commit comments

Comments
 (0)