Commit 7bc86867 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play firefox: fix getting first stable release

parent f4cfcaa6
...@@ -8,7 +8,7 @@ URL="https://www.mozilla.org/en-US/firefox" ...@@ -8,7 +8,7 @@ URL="https://www.mozilla.org/en-US/firefox"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
VERSION="$(eget -O- https://www.mozilla.org/en-US/firefox/releases/ | grep -oP '\K[0-9]+\.[0-9]+\.[0-9]+' | sort -V | tail -n1)" VERSION="$(eget -O- https://www.mozilla.org/en-US/firefox/releases/ | grep -P '>[0-9]+\.[0-9]+\.*[0-9]*<' | grep -oP '\K[0-9]+\.[0-9]+[.0-9]*' | sort -V | tail -n1)"
fi fi
arch=$(epm print info -a) arch=$(epm print info -a)
......
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