Commit 704c7d9e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play yandex-browser: force unversioned install, add redos support

parent ab9c7364
......@@ -10,6 +10,9 @@ TIPS="Run 'epm play yandex-browser=beta' to install beta version of the browser.
. $(dirname $0)/common.sh
warn_version_is_not_supported
VERSION="*"
# See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yandex-browser-beta
URL="https://repo.yandex.ru/yandex-browser"
......@@ -23,6 +26,11 @@ else
PKGURL="$URL/deb/pool/main/y/$PKGNAME/$(epm print constructname $PKGNAME "$VERSION*" amd64 deb)"
fi
if "$(epm print info -s)" = "redos" ] ; then
BRANCH="stable"
PKGURL="$URL/rpm/redos/x86_64/$(epm print constructname $PKGNAME "$VERSION*" x86_64 rpm)"
fi
install_pkgurl
# TODO: use needed version
......
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