add force parameter

This commit is contained in:
Patrick Schratz 2024-07-24 18:20:45 +02:00
commit c42e2be4a6
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -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)
}