Commit 0292f6fa authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play chrome: fix downloading

parent de8360ed
......@@ -8,12 +8,15 @@ URL="https://www.google.com/chrome/"
. $(dirname $0)/common.sh
arch=amd64
pkgtype=deb
_channel="stable"
if [ "$VERSION" = "*" ] ; then
PKGURL="https://dl.google.com/linux/direct/google-chrome-stable_current_$arch.$pkgtype"
else
PKGURL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-${_channel}/google-chrome-${_channel}_${VERSION}-1_amd64.deb"
VERSION="$VERSION-1"
PKGURL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-${_channel}/google-chrome-${_channel}_${VERSION}_$arch.$pkgtype"
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