Skip to content
Permalink
Browse files

MAINT: Silence apt-key existing key messages

  • Loading branch information
pan14001 committed Aug 15, 2016
1 parent d13bc23 commit 264ed802e81185113e9d1473153848f3945f2091
Showing with 3 additions and 1 deletion.
  1. +3 −1 cgi-updater-payload.sh
@@ -21,7 +21,9 @@ ubuntu_install_r_cran () {
# https://cran.r-project.org/bin/linux/ubuntu/
deb https://cran.fhcrc.org/bin/linux/ubuntu $(lsb_release -cs)/
EOF
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
local key=E084DAB9
grep -q $key <( apt-key list ) ||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
apt-get update
apt-get -y install r-base-dev
}

0 comments on commit 264ed80

Please sign in to comment.
You can’t perform that action at this time.