Commit 0c7f81b9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play vinteo.desktop: fix url (ALT bug 46501)

parent 764ea8c8
......@@ -10,6 +10,18 @@ DESCRIPTION="Client for Vinteo videoconferencing server"
arch=amd64
pkgtype=deb
PKGURL=$(epm tool eget --list --latest https://download.vinteo.com/VinteoClient/linux/ "Vinteo.Desktop-$VERSION-$arch.$pkgtype") || fatal "Can't get package URL"
[ "$VERSION" = "*" ] && VERSION="$(epm tool eget --list --latest https://download.vinteo.com/VinteoClient/linux/3.* | xargs basename)"
# use rpm, but not for ALT
[ "$(epm print info -p)" = "rpm" ] && [ "$(epm print info -s)" != "alt" ] && pkgtype=rpm
case "$(epm print info -d)" in
AstraLinux*)
PKGURL="https://download.vinteo.com/VinteoClient/linux/$VERSION/astralinux/Vinteo.Desktop-$VERSION-$arch.$pkgtype"
;;
*)
PKGURL="https://download.vinteo.com/VinteoClient/linux/$VERSION/Vinteo.Desktop-$VERSION-$arch.$pkgtype"
;;
esac
epm 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