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/" ...@@ -10,16 +10,37 @@ URL="https://ridoclnx.com/"
warn_version_is_not_supported warn_version_is_not_supported
pkgtype=$(epm print info -p) case $(epm print info -e) in
case $pkgtype in AstraLinuxSE/1.8)
rpm) mask="ridoclnx_${VERSION}astra18.deb"
mask="ridoclnx-1.0-4.4.x86_64.rpm" ;;
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 esac
PKGURL="https://ridoclnx.com/download/$mask"
PKGURL=$(eget --list --latest "https://ridoclnx.com/download-ridoclnx-ru" "$mask")
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