Commit a97c0cab authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play waterfox: fix PKGURL and VERSION (eterbug #17830)

parent 81e185dd
......@@ -8,9 +8,9 @@ URL="https://www.waterfox.net/"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
VERSION="$(curl -s https://api.github.com/repos/BrowserWorks/Waterfox/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")' | sed 's/G//g')"
VERSION="$(get_github_tag https://github.com/BrowserWorks/Waterfox/)"
fi
PKGURL="https://cdn1.waterfox.net/waterfox/releases/G$VERSION/Linux_x86_64/waterfox-G$VERSION.tar.bz2"
PKGURL="https://cdn1.waterfox.net/waterfox/releases/$VERSION/Linux_x86_64/waterfox-$VERSION.tar.bz2"
install_pack_pkgurl $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