Skip to content

Commit

Permalink
Fixing rstudio test for presubmits (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-cs committed Aug 22, 2024
1 parent d5681e0 commit 9a717fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rstudio/rstudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ if [[ "${ROLE}" == 'Master' ]]; then
fi
apt-get install -y software-properties-common
add-apt-repository "deb http://cran.r-project.org/bin/linux/${OS_ID} ${OS_CODE}-cran40/"
if [[ ${OS_ID} == ubuntu ]] && [[ $(echo "${DATAPROC_IMAGE_VERSION} == 2.0" | bc -l) == 1 ]]; then
if [[ ${OS_ID} == ubuntu ]] && [[ $(echo "${DATAPROC_IMAGE_VERSION} < 2.1" | bc -l) == 1 ]]; then
install_package
fi
update_apt_get
Expand Down

0 comments on commit 9a717fa

Please sign in to comment.