Commit 85e868f4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: use base epm version for get ipfs db

parent 2091b5eb
......@@ -270,6 +270,9 @@ __epm_play_download_epm_file()
local file="$2"
# use short version (3.4.5)
local epmver="$(epm --short --version)"
# use baseversion
epmver=$(echo "$epmver" | sed -e 's|\.[0-9]*$||')
local URL
for URL in "https://eepm.ru/releases/$epmver/app-versions" "https://eepm.ru/app-versions" ; do
info "Updating local IPFS DB in $eget_ipfs_db file from $URL/eget-ipfs-db.txt"
......
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