Commit 35f6a4ec authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play anydesk: fix version

parent f48e7974
......@@ -5,8 +5,6 @@ SUPPORTEDARCHES="x86_64 x86"
VERSION="$2"
DESCRIPTION="AnyDesk from the official site"
[ -n "$VERSION" ] || VERSION="[6-9].[1-9]*"
. $(dirname $0)/common.sh
arch=$(epm print info --distro-arch)
......@@ -25,6 +23,10 @@ esac
repack=''
[ "$(epm print info -s)" = "alt" ] && repack='--repack'
# rpm packages have a release in their names
[ "$(epm print info -p)" = "rpm" ] && [ "$VERSION" != "*" ] && VERSION="$VERSION-1"
# current links:
# https://download.anydesk.com/rpm/anydesk_6.0.1-1_x86_64.rpm
# https://download.anydesk.com/os-specific/rhel8/anydesk-6.0.1-1.el8.x86_64.rpm
......
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