From 6a0d76a308cd97f49672fa2e0b402b0e33253d8b Mon Sep 17 00:00:00 2001 From: Yamato Matsuoka Date: Sat, 8 Jul 2023 12:03:28 -0400 Subject: [PATCH] Fix rstudio-build selection --- repo2docker/buildpacks/_r_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo2docker/buildpacks/_r_base.py b/repo2docker/buildpacks/_r_base.py index 772b2d80c..f01a43703 100644 --- a/repo2docker/buildpacks/_r_base.py +++ b/repo2docker/buildpacks/_r_base.py @@ -38,7 +38,7 @@ def rstudio_base_scripts(r_version): # which will upgrade the installed version of R, undoing our pinned version rf""" apt-get update > /dev/null && \ - if apt-cache search libssl3 > /dev/null; then \ + if apt-cache search libssl3 | grep -q libssl3; then \ RSTUDIO_URL="{rstudio_openssl3_url}" ;\ RSTUDIO_HASH="{rstudio_openssl3_sha256sum}" ;\ else \