From 8463b462e2bf457b79d45365a16d34922fc07077 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 12 Feb 2016 11:00:02 +0100 Subject: [PATCH] SRPMVERSION: fix for skype version retrieving and add curl timeout when fetching adobe version --- SRPMSVERSIONS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SRPMSVERSIONS b/SRPMSVERSIONS index a55c970..92a2bef 100644 --- a/SRPMSVERSIONS +++ b/SRPMSVERSIONS @@ -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