Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MAINT: Silence apt-key existing key messages
  • Loading branch information
pan14001 committed Aug 15, 2016
1 parent d13bc23 commit 264ed80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cgi-updater-payload.sh
Expand Up @@ -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
}
Expand Down

0 comments on commit 264ed80

Please sign in to comment.