File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,9 @@ check_packages curl ca-certificates
135135# shellcheck source=/dev/null
136136source /etc/os-release
137137if [ " ${ID} " = " ubuntu" ]; then
138+ echo " Set up for Ubuntu..."
139+ curl -fsSL https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc > /dev/null
140+ echo " deb https://cloud.r-project.org/bin/linux/ubuntu ${UBUNTU_CODENAME} -cran40/" > /etc/apt/sources.list.d/cran-ubuntu.list
138141 echo " Set up r2u..."
139142 curl -fsSL https://eddelbuettel.github.io/r2u/assets/dirk_eddelbuettel_key.asc | tee -a /etc/apt/trusted.gpg.d/cranapt_key.asc > /dev/null
140143 echo " deb https://r2u.stat.illinois.edu/ubuntu ${UBUNTU_CODENAME} main" > /etc/apt/sources.list.d/cranapt.list
You can’t perform that action at this time.
0 commit comments