Skip to content

Commit

Permalink
add rhel to os table, remove renaming workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Sep 11, 2024
1 parent b1b3879 commit 5e56f56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/sysreqs2.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ sysreqs2_cmds <- utils::read.table(
'Red Hat Enterprise Linux' linux redhat 6 NA 'yum install -y' rpm
'Red Hat Enterprise Linux' linux redhat 7 NA 'yum install -y' rpm
'Red Hat Enterprise Linux' linux redhat * NA 'dnf install -y' rpm
'Red Hat Enterprise Linux' linux rhel * NA 'dnf install -y' rpm
'Fedora Linux' linux fedora * NA 'dnf install -y' rpm
'openSUSE Linux' linux opensuse * NA 'zypper --non-interactive install' rpm
'SUSE Linux Enterprise' linux sle * NA 'zypper --non-interactive install' rpm
Expand All @@ -26,9 +27,6 @@ sysreqs2_cmds <- utils::read.table(
find_sysreqs_platform <- function(sysreqs_platform = NULL) {
sysreqs_platform <- sysreqs_platform %||% current_config()$get("sysreqs_platform")
plt <- parse_sysreqs_platform(sysreqs_platform)
if (plt$distribution == "rhel") {
plt$distribution = "redhat"
}
idx <- which(
sysreqs2_cmds$os == plt$os &
sysreqs2_cmds$distribution == plt$distribution &
Expand Down

0 comments on commit 5e56f56

Please sign in to comment.