Changed Linux distro flavor detecting behavior by reading /etc/os-release .
Tested on Rocky Linux 9, and it should work on other Enterprise Linux distro including RHEL, Alma Linux, CentOS Stream or Oracle Linux.
RHEL/CentOS 7 users should install dnf before using this script.
Changed Linux distro flavor detecting behavior by reading
/etc/os-release
. Tested on Rocky Linux 9, and it should work on other Enterprise Linux distro including RHEL, Alma Linux, CentOS Stream or Oracle Linux.RHEL/CentOS 7 users should install dnf before using this script.