#!/bin/shPKGNAME=rstudioSUPPORTEDARCHES="x86_64"DESCRIPTION='RStudio from the official site'.$(dirname$0)/common.sharch=x86_64pkgtype=rpmPKGMASK="$(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"