Commit 4853dbf8 authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play ridoclnx: fix download (eterbug #17865)

parent f6f7db4d
......@@ -10,16 +10,37 @@ URL="https://ridoclnx.com/"
warn_version_is_not_supported
pkgtype=$(epm print info -p)
case $pkgtype in
rpm)
mask="ridoclnx-1.0-4.4.x86_64.rpm"
case $(epm print info -e) in
AstraLinuxSE/1.8)
mask="ridoclnx_${VERSION}astra18.deb"
;;
AstraLinuxSE/1.7|AstraLinuxSE/1.7.5|AstraLinuxCE/1.6)
mask="ridoclnx_${VERSION}astra17.deb"
;;
RedOS/8*)
mask="ridoclnx-${VERSION}REDOS8.x86_64.rpm"
;;
RedOS/7*)
mask="ridoclnx-${VERSION}REDOS7.x86_64.rpm"
;;
ALTLinux/p11|ALTLinux/Sisyphus)
mask="ridoclnx-${VERSION}P11ALT.x86_64.rpm"
;;
ALTLinux/p10|CentOS/*)
mask="ridoclnx-${VERSION}ALT.x86_64.rpm"
;;
Ubuntu/*)
mask="ridoclnx_${VERSION}ubuntu22.deb"
;;
Debian/*)
mask="ridoclnx_${VERSION}debian12.deb"
;;
*)
mask="ridoclnx_1.0.4.4.deb"
mask="ridoclnx_${VERSION}ubuntu22.deb"
;;
esac
PKGURL="https://ridoclnx.com/download/$mask"
PKGURL=$(eget --list --latest "https://ridoclnx.com/download-ridoclnx-ru" "$mask")
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