From aaf505880afb17775f128bb6496b72f8ae87f5c6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 31 Jul 2019 19:09:53 +0200 Subject: [PATCH] SRPMSVERSIONS: chromium-widevine: update scraping of latest chrome release --- SRPMSVERSIONS | 2 +- openmamba-update/openmamba-netsrpms | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SRPMSVERSIONS b/SRPMSVERSIONS index 5a0f08d..a8c095f 100644 --- a/SRPMSVERSIONS +++ b/SRPMSVERSIONS @@ -41,7 +41,7 @@ if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then fi # chromium-widevine 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 SRPMVERSION["chromium-widevine"]="0" fi diff --git a/openmamba-update/openmamba-netsrpms b/openmamba-update/openmamba-netsrpms index e93bac0..021c235 100755 --- a/openmamba-update/openmamba-netsrpms +++ b/openmamba-update/openmamba-netsrpms @@ -2,7 +2,7 @@ # # netsrpm-install.sh - Build srpms that download sources from network # -# Copyright (C) 2003-2018 by Silvan Calarco +# Copyright (C) 2003-2019 by Silvan Calarco # Copyright (C) 2005 by Massimo Pintore # Copyright (C) 2005-2007 by Davide Madrisan