Skip to content

Commit

Permalink
Add key and use OSN signed repo
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud authored Oct 19, 2023
1 parent b46d5c2 commit b52d53b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apt_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ apt install -y --no-install-recommends curl ca-certificates
curl -O https://raw.githubusercontent.com/eddelbuettel/r2u/master/inst/scripts/add_cranapt_$UBUNTU_CODENAME.sh
bash add_cranapt_$UBUNTU_CODENAME.sh
rm add_cranapt_$UBUNTU_CODENAME.sh
echo "deb [trusted=yes] https://js2.jetstream-cloud.org:8001/swift/v1/bioc2u/ $UBUNTU_CODENAME release" | tee -a /etc/apt/sources.list.d/bioc2u.list > /dev/null
curl -o /etc/apt/trusted.gpg.d/bioc2u_key.asc https://mghp.osn.xsede.org/bir190004-bucket01/bioc2u/bioc2u_key.asc
echo "deb https://mghp.osn.xsede.org/bir190004-bucket01/bioc2u/ $UBUNTU_CODENAME release" | tee -a /etc/apt/sources.list.d/bioc2u.list > /dev/null
echo "Package: *" > /etc/apt/preferences.d/prefbioc2u
echo "Pin: origin mghp.osn.xsede.org" >> /etc/apt/preferences.d/prefbioc2u
echo "Pin-Priority: 800" >> /etc/apt/preferences.d/prefbioc2u
apt update -qq
DEBIAN_FRONTEND=noninteractive apt install -y r-base-core r-cran-biocmanager r-cran-bspm

0 comments on commit b52d53b

Please sign in to comment.