From 891d3b806fc49beacca4d5a6e9dacf9055647c57 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Sat, 5 Aug 2023 01:28:06 +0000 Subject: [PATCH] fix for D-Bus and sudo --- src/r-apt/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/r-apt/install.sh b/src/r-apt/install.sh index bed62c5..5747e1c 100755 --- a/src/r-apt/install.sh +++ b/src/r-apt/install.sh @@ -95,7 +95,7 @@ if [ "${INSTALL_JUPYTERLAB}" = "true" ]; then fi if [ "${INSTALL_BSPM}" = "true" ]; then - APT_PACKAGES+=(make python3-apt python3-dbus python3-gi) + APT_PACKAGES+=(make sudo python3-apt python3-gi) fi apt_get_update() { @@ -233,6 +233,7 @@ fi if [ "${INSTALL_BSPM}" = "true" ]; then R -q -e 'install.packages("bspm")' + echo "options(bspm.sudo = TRUE)" >>/etc/R/Rprofile.site echo "bspm::enable()" >>/etc/R/Rprofile.site fi