Commit 9174c4b8 authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play freeplane: fix download (eterbug #17865)

parent a783a75b
...@@ -12,6 +12,14 @@ if [ "$VERSION" = "*" ] ; then ...@@ -12,6 +12,14 @@ if [ "$VERSION" = "*" ] ; then
VERSION="$(get_json_value https://sourceforge.net/projects/$PKGNAME/best_release.json '["platform_releases","linux","filename"]' | grep -oP '\d+\.\d+\.\d+')" VERSION="$(get_json_value https://sourceforge.net/projects/$PKGNAME/best_release.json '["platform_releases","linux","filename"]' | grep -oP '\d+\.\d+\.\d+')"
fi fi
PKGURL="https://download.sourceforge.net/project/freeplane/freeplane%20stable/freeplane_$VERSION~upstream-1_all.deb" # Yes, now with dot after version
case $(epm print compare package version "$VERSION" 1.12.13) in
1|0)
file=freeplane_$VERSION.upstream-1_all.deb ;;
-1)
file=freeplane_$VERSION~upstream-1_all.deb ;;
esac
PKGURL="https://download.sourceforge.net/project/freeplane/freeplane%20stable/${file}"
install_pkgurl 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