Commit 6f8f1c10 authored by Иван Мажукин's avatar Иван Мажукин Committed by Vitaly Lipatov

epm play: fix radicle install(eterbug #17322)

parent 8facff87
......@@ -10,12 +10,13 @@ VERSION=$3
BASENAME=$(basename $TAR .tar.gz)
erc unpack $TAR || fatal
cd *
mkdir -p usr/share/man/man1
mkdir -p opt/$PRODUCT
mv */*.1 usr/share/man/man1/
mv */* opt/$PRODUCT/
mv man/man1/*.1 usr/share/man/man1/
mv bin/* opt/$PRODUCT/
PKGNAME=$PRODUCT-$VERSION
......
......@@ -10,9 +10,9 @@ URL="https://radicle.xyz/"
warn_version_is_not_supported
VERSION=$(eget -q -O- "https://files.radicle.xyz/latest/version.json" | epm tool json -b | grep version | awk 'gsub(/"/, "", $2) {print $2}')
VERSION=$(eget -q -O- "https://files.radicle.xyz/releases/latest/radicle.json" | epm tool json -b | grep version | awk 'gsub(/"/, "", $2) {print $2}')
[ -n "$VERSION" ] || fatal "Can't get version"
PKGURL="https://files.radicle.xyz/latest/x86_64-unknown-linux-musl/radicle-x86_64-unknown-linux-musl.tar.gz"
PKGURL="https://files.radicle.xyz/releases/latest/radicle-$VERSION-x86_64-unknown-linux-musl.tar.xz"
install_pack_pkgurl $VERSION
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment