Commit 1043fbb1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play netbeans: switch to GitHub releases (old site is dead)

parent c9377974
......@@ -9,20 +9,16 @@ URL="https://netbeans.apache.org"
. $(dirname $0)/common.sh
warn_version_is_not_supported
arch=$(epm print info --debian-arch)
pkgtype=$(epm print info -p)
# It is too complex to support history
#if [ "$VERSION" = "*" ] ; then
PKGURL=$(eget --list --latest https://installers.friendsofapachenetbeans.org/ "apache-netbeans_*_$arch.deb")
#lse
# if [ "$VERSION" -ge 26 ] ; then
# # TODO
# PKGURL="https://github.com/Friends-of-Apache-NetBeans/netbeans-installers/releases/download/v27-build1/apache-netbeans_27-1_arm64.deb"
# else
# PKGURL="https://archive.apache.org/dist/netbeans/netbeans-installers/$VERSION/apache-netbeans_${VERSION}-*_all.deb"
# fi
#i
case "$pkgtype" in
rpm)
PKGURL=$(get_github_url "Friends-of-Apache-NetBeans/netbeans-installers" "apache-netbeans-${VERSION}-*.x86_64.rpm")
;;
*)
PKGURL=$(get_github_url "Friends-of-Apache-NetBeans/netbeans-installers" "apache-netbeans_${VERSION}-*_${arch}.deb")
;;
esac
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