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
|
||||
SRPMRELEASE["b43-firmware"]=1mamba
|
||||
# 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
|
||||
# msttcorefonts
|
||||
SRPMVERSION["msttcorefonts"]=1.3
|
||||
SRPMRELEASE["msttcorefonts"]=7mamba
|
||||
# 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
|
||||
# spotify
|
||||
if [ "`uname -m`" == "x86_64" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user