Skip to content

Commit

Permalink
feat(linux): add rocky linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
bytestream authored Aug 30, 2024
1 parent 2dea514 commit 4480eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ identify_os() {
# Check for RHEL/CentOS, Fedora, etc.
if command -v rpm >/dev/null && [[ -e /etc/redhat-release ]]; then
os_type=rhel
el_version=$(rpm -qa '(oraclelinux|sl|redhat|centos|fedora|alma)*release(|-server)' --queryformat '%{VERSION}')
el_version=$(rpm -qa '(oraclelinux|sl|redhat|centos|fedora|alma|rocky)*release(|-server)' --queryformat '%{VERSION}')
case $el_version in
9*) os_version=9 ;;
*) error "Detected RHEL or compatible but version ($el_version) is not supported." "$supported" ;;
Expand Down

0 comments on commit 4480eef

Please sign in to comment.