Commit fafdd961 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play tixati: fix downloading version, use direct link

parent 1de6df10
......@@ -8,6 +8,8 @@ URL="https://tixati.com/"
. $(dirname $0)/common.sh
[ "$VERSION" = "*" ] || VERSION="$VERSION-1"
case "$(epm print info -p)" in
rpm)
mask="tixati-${VERSION}.x86_64.rpm"
......@@ -17,6 +19,10 @@ case "$(epm print info -p)" in
;;
esac
PKGURL="$(eget --list --latest "https://download.tixati.com/" "$mask")"
if [ "$VERSION" = "*" ] ; then
PKGURL="$(eget --list --latest "https://download.tixati.com/" "$mask")"
else
PKGURL="https://download.tixati.com/$mask"
fi
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