Skip to content

Commit

Permalink
fix for D-Bus and sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Aug 5, 2023
1 parent adf8160 commit 891d3b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/r-apt/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 891d3b8

Please sign in to comment.