Skip to content

Commit 54eb3be

Browse files
authored
Support Oracle Linux in install-from-source.sh (#2212)
Added 'ol' to the list of supported distributions for installation. Oracle Linux /etc/os-release output: ```sh $ docker run -it oraclelinux:9 cat /etc/os-release NAME="Oracle Linux Server" VERSION="9.7" ID="ol" ID_LIKE="fedora" VERSION_ID="9.7" PLATFORM_ID="platform:el9" This confirms: ``` ID="ol" ID_LIKE="fedora" Since Oracle Linux is RHEL-compatible and part of the Fedora/RHEL family, handling it under the same case block (fedora | centos | rhel | ol) is appropriate and consistent with existing logic.
2 parents 4ce69b6 + 445fb20 commit 54eb3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/Packaging.Linux/install-from-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ case "$distribution" in
189189
fi
190190
fi
191191
;;
192-
fedora | centos | rhel)
192+
fedora | centos | rhel | ol)
193193
$sudo_cmd dnf upgrade -y
194194

195195
# Install dotnet/GCM dependencies.

0 commit comments

Comments
 (0)