oracle / centos2ol

Script and documentation to switch CentOS/Rocky Linux to Oracle Linux
https://linux.oracle.com/switch/centos/
Universal Permissive License v1.0
345 stars 83 forks source link

Use full path for redhat-release when checking for a supported distribution #24

Closed AlexandraIsabel closed 3 years ago

AlexandraIsabel commented 3 years ago

The change in this PR does the following:

I have tested this on CentOS 6-8 and Oracle Linux 6-8. The conversion from CentOS to Oracle Linux was still functional and the script is now able to properly detect if the host it's running on is running Oracle Linux. This should fix #12

Djelibeybi commented 3 years ago

Thanks for your contribution. And I think you're the first person that has actually signed the OCA before opening the PR, so you get extra thanks for that too.

It's already the weekend here in Australia, but I'll do my best to test this ASAP.

Djelibeybi commented 3 years ago

Tested and approved. Thanks for your contribution!