rstudio.sh 423 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh

PKGNAME=rstudio
SUPPORTEDARCHES="x86_64"
DESCRIPTION='RStudio from the official site'

. $(dirname $0)/common.sh

arch=x86_64
pkgtype=rpm

PKGMASK="$(epm print constructname $PKGNAME "*" $arch $pkgtype)"
PKG="$(epm tool eget --list --latest https://www.rstudio.com/products/rstudio/download/ $PKGMASK)" || fatal "Can't get package URL"
[ -n "$PKG" ] || fatal "Can't get package URL"

epm install --repack "$PKG"