add force parameter
This commit is contained in:
parent
7610e0507b
commit
c42e2be4a6
1 changed files with 36 additions and 57 deletions
|
|
@ -9,7 +9,7 @@ set_codename <- function(codename) {
|
|||
codename <- system2("grep",
|
||||
args = c("'^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2 | tr -d '\"'"), stdout = TRUE
|
||||
)
|
||||
} else if (grepl("rhel", dist_fam)) {
|
||||
} else if (grepl("rhel|fedora", dist_fam)) {
|
||||
platform_id <- system2("grep",
|
||||
args = c("'^PLATFORM_ID=' /etc/os-release | cut -d'=' -f2 | tr -d '\"'"), stdout = TRUE
|
||||
)
|
||||
|
|
@ -42,8 +42,6 @@ set_bin_path <- function(
|
|||
local_build_root, codename, r_version_minor
|
||||
)
|
||||
}
|
||||
cli::cli_alert_warning("DEBUG: path {path}.")
|
||||
|
||||
return(path)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue