SRPMVERSION: fix for skype version retrieving and add curl timeout when fetching adobe version
This commit is contained in:
parent
1aa1b2d379
commit
8463b462e2
@ -2,13 +2,13 @@
|
|||||||
SRPMVERSION["b43-firmware"]=4.150.10.5
|
SRPMVERSION["b43-firmware"]=4.150.10.5
|
||||||
SRPMRELEASE["b43-firmware"]=1mamba
|
SRPMRELEASE["b43-firmware"]=1mamba
|
||||||
# flashplugin
|
# flashplugin
|
||||||
SRPMVERSION["flashplugin"]="`curl -s http://www.adobe.com/software/flash/about/ | grep -A2 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
SRPMVERSION["flashplugin"]="`curl --max-time 20 -s http://www.adobe.com/software/flash/about/ | grep -A2 "Linux" | tail -n1 | sed -e 's/[[:space:]]*<[^>][^>]*>//g;s/[[:space:]]//' 2>/dev/null`"
|
||||||
SRPMRELEASE["flashplugin"]=1mamba
|
SRPMRELEASE["flashplugin"]=1mamba
|
||||||
# msttcorefonts
|
# msttcorefonts
|
||||||
SRPMVERSION["msttcorefonts"]=1.3
|
SRPMVERSION["msttcorefonts"]=1.3
|
||||||
SRPMRELEASE["msttcorefonts"]=7mamba
|
SRPMRELEASE["msttcorefonts"]=7mamba
|
||||||
# skype
|
# skype
|
||||||
SRPMVERSION["skype"]="`curl -sLI "http://www.skype.com/go/getskype-linux-beta-dynamic"|grep "linux/skype-"|sed "s|.*skype-\(.*\)\.tar\..*|\1|" 2>/dev/null`"
|
SRPMVERSION["skype"]="`curl -sLI "http://www.skype.com/go/getskype-linux-beta-dynamic"|grep "linux/skype-"|sed "s|.*skype-\(.*\)\.tar\..*|\1|"|grep -v "\.\.0\." 2>/dev/null`"
|
||||||
SRPMRELEASE["skype"]=2mamba
|
SRPMRELEASE["skype"]=2mamba
|
||||||
# spotify
|
# spotify
|
||||||
if [ "`uname -m`" == "x86_64" ]; then
|
if [ "`uname -m`" == "x86_64" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user