From ab3ae9a6ddbcd8c708f1ddb775d7ebeda492f881 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 21 Apr 2016 13:44:42 +0200 Subject: [PATCH] SRPMSVERSION: update for Chromium also disabling no longer available 32 bit version --- SRPMSVERSIONS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SRPMSVERSIONS b/SRPMSVERSIONS index 0d46664..77f5fab 100644 --- a/SRPMSVERSIONS +++ b/SRPMSVERSIONS @@ -36,6 +36,10 @@ SRPMVERSION["win32codecs"]=20110131 SRPMRELEASE["win32codecs"]=1mamba # chromium-pepper-flash if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then - SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | grep -i -m 1 "stable channel has been updated to" | sed "s|.*updated to \([0-9.]*\) .*|\1|" 2>/dev/null`" + if [ "`uname -m`" == "x86_64" ]; then + SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -s "http://googlechromereleases.blogspot.it/" | 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`" + else + SRPMVERSION["chromium-pepper-flash"]="0" + fi SRPMRELEASE["chromium-pepper-flash"]=1mamba fi