Commit 06a19b95 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play yandex-music: small fix

parent fe659b40
...@@ -8,10 +8,8 @@ URL="https://music.yandex.ru/download" ...@@ -8,10 +8,8 @@ URL="https://music.yandex.ru/download"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
DOWNLOAD_JSON="https://music-desktop-application.s3.yandex.net/stable/download.json"
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
PKGURL="$(eget -O- "$DOWNLOAD_JSON" | epm tool json -b | get_json_value "linux")" PKGURL="$(get_json_value "https://music-desktop-application.s3.yandex.net/stable/download.json" "linux")"
else else
PKGURL="https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_amd64_${VERSION}.deb" PKGURL="https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_amd64_${VERSION}.deb"
fi fi
......
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