flashplugin: fix for version detection

This commit is contained in:
Silvan Calarco 2017-06-03 15:14:10 +02:00
parent 0b20585be5
commit b5ddfe787c

View File

@ -3,7 +3,7 @@ SRPMVERSION["b43-firmware"]=4.150.10.5
SRPMRELEASE["b43-firmware"]=1mamba SRPMRELEASE["b43-firmware"]=1mamba
# flashplugin # flashplugin
if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then if [ ! "$SRPMCHECK" -o "$SRPMCHECK" = "flashplugin" ]; then
SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A1 "NPAPI" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`" SRPMVERSION["flashplugin"]="`curl --max-time 20 -sL http://www.adobe.com/software/flash/about/ | grep -A10 "Linux" | grep -A3 "NPAPI" | grep "[0-9]\.[0-9]\.[0-9]" | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
SRPMRELEASE["flashplugin"]=1mamba SRPMRELEASE["flashplugin"]=1mamba
fi fi
# msttcorefonts # msttcorefonts