chromium-pepper-flash: fix latest version check after Adobe site change

This commit is contained in:
Silvan Calarco 2020-01-22 14:42:12 +01:00
parent f12cefac80
commit 2552a9d0b8

View File

@ -36,7 +36,7 @@ SRPMVERSION["win32codecs"]=20110131
SRPMRELEASE["win32codecs"]=1mamba SRPMRELEASE["win32codecs"]=1mamba
# chromium-pepper-flash # chromium-pepper-flash
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "chromium-pepper-flash" ]; then
SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A11 "Linux" | grep -A3 "PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`" SRPMVERSION["chromium-pepper-flash"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A15 "Linux" | grep -A3 "Opera.*PPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["chromium-pepper-flash"]=1mamba SRPMRELEASE["chromium-pepper-flash"]=1mamba
fi fi
# chromium-widevine # chromium-widevine