Commit ab3ae9a6ddbcd8c708f1ddb775d7ebeda492f881

Authored by Silvan Calarco
1 parent 9ab6dc2fb7
Exists in master and in 1 other branch milestone3

SRPMSVERSION: update for Chromium also disabling no longer available 32 bit version

Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff

... ... @@ -36,7 +36,11 @@
36 36 SRPMRELEASE["win32codecs"]=1mamba
37 37 # chromium-pepper-flash
38 38 if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
39   - 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`"
  39 + if [ "`uname -m`" == "x86_64" ]; then
  40 + 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`"
  41 + else
  42 + SRPMVERSION["chromium-pepper-flash"]="0"
  43 + fi
40 44 SRPMRELEASE["chromium-pepper-flash"]=1mamba
41 45 fi