SRPMSVERSIONS: chromium-widevine: update scraping of latest chrome release
This commit is contained in:
parent
63ac109504
commit
aaf505880a
@ -41,7 +41,7 @@ if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
|
|||||||
fi
|
fi
|
||||||
# chromium-widevine
|
# chromium-widevine
|
||||||
if [ "`uname -m`" == "x86_64" ]; then
|
if [ "`uname -m`" == "x86_64" ]; then
|
||||||
SRPMVERSION["chromium-widevine"]="`curl --max-time 20 -L -s "http://googlechromereleases.blogspot.com/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*|\1|" 2>/dev/null`"
|
SRPMVERSION["chromium-widevine"]="`curl --max-time 20 -L -s "https://www.whatismybrowser.com/guides/the-latest-version/chrome" | grep "Chrome on .*Linux" -s -A1 | grep -v "Chrome on .*Linux" | sed "s|[^0-9.]*||g"`"
|
||||||
else
|
else
|
||||||
SRPMVERSION["chromium-widevine"]="0"
|
SRPMVERSION["chromium-widevine"]="0"
|
||||||
fi
|
fi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# netsrpm-install.sh - Build srpms that download sources from network
|
# netsrpm-install.sh - Build srpms that download sources from network
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003-2018 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (C) 2003-2019 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
|
# Copyright (C) 2005 by Massimo Pintore <massimo.pintore@qilinux.it>
|
||||||
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
|
# Copyright (C) 2005-2007 by Davide Madrisan <davide.madrisan@qilinux.it>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user