Commit e1861707 authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play freeplane: fix getting version (eterbug #17865)

parent 50461af7
......@@ -9,9 +9,9 @@ URL="https://freeplane.sourceforge.net"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
# PKGURL="$(get_json_value https://sourceforge.net/projects/$PKGNAME/best_release.json '["platform_releases","linux","url"]')"
VERSION="1.12.10"
VERSION="$(get_json_value https://sourceforge.net/projects/$PKGNAME/best_release.json '["platform_releases","linux","filename"]' | grep -oP '\d+\.\d+\.\d+')"
fi
PKGURL="https://download.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_$VERSION~upstream-1_all.deb"
install_pkgurl
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