From 3606a4b1ae5d480142be59d303b80a6d97d8f930 Mon Sep 17 00:00:00 2001 From: John Muschelli Date: Thu, 14 Oct 2021 05:41:46 +0000 Subject: [PATCH] Revert "allowing ubuntu in there because sysreqs supports it" This reverts commit 235f09fadaaaf842f717b6bd305d77cc001b36af. --- R/defaults.R | 2 +- R/package-installation-methods.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/defaults.R b/R/defaults.R index c3c0c51..6de2e6e 100644 --- a/R/defaults.R +++ b/R/defaults.R @@ -16,7 +16,7 @@ .debian_platform <- "linux-x86_64-debian-gcc" .ubuntu_platform <- "linux-x86_64-ubuntu-gcc" -.supported_platforms <- c(.debian_platform, .ubuntu_platform) +.supported_platforms <- .debian_platform .init_config_file <- function() { tryCatch( diff --git a/R/package-installation-methods.R b/R/package-installation-methods.R index ea1c820..b4e1981 100644 --- a/R/package-installation-methods.R +++ b/R/package-installation-methods.R @@ -74,7 +74,7 @@ add_install_instructions <- function(base_dockerfile, # if platform is debian and system dependencies need to be installed, add the commands if (length(package_reqs) > 0) { - if (platform == .debian_platform || platform == .ubuntu_platform) { + if (platform == .debian_platform) { commands <- "export DEBIAN_FRONTEND=noninteractive; apt-get -y update" install_command <- paste("apt-get install -y", paste(package_reqs, collapse = " \\\n\t"))