wok rev 13864
get-opera: new up-to-date mirror,remove depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jan 13 04:11:25 2013 +0000 (2013-01-13) |
parents | ba11b12589c9 |
children | 0adeb0844ae2 |
files | get-opera/stuff/get-opera |
line diff
1.1 --- a/get-opera/stuff/get-opera Fri Jan 11 21:38:00 2013 +0100 1.2 +++ b/get-opera/stuff/get-opera Sun Jan 13 04:11:25 2013 +0000 1.3 @@ -3,8 +3,8 @@ 1.4 PACKAGE="opera" 1.5 WEB_SITE="http://www.opera.com/" 1.6 CATEGORY="non-free" 1.7 -DEPENDS="libQtGui" 1.8 -URL=http://mirrors.dedipower.com/opera/linux/ 1.9 +DEPENDS="" 1.10 +URL=http://mirror.switch.ch/ftp/mirror/opera/linux/ 1.11 1.12 ROOT="$1" 1.13 [ -d "$ROOT" ] || ROOT="" 1.14 @@ -32,7 +32,7 @@ 1.15 1.16 # Download deb 1.17 for RELEASE in $@ $(get_releases); do 1.18 - FILE=$(wget -O- "$URL$RELEASE/" 2>/dev/null | grep -v next | sed 's|.*[Ff]="\(.*\)".*|\1|;/6.d/!d;q') 1.19 + FILE=$(wget -O- "$URL$RELEASE/" 2>/dev/null |sed 's|.*[Ff]="\(.*\)".*|\1|;/6.d/!d;q'|sed 's/".*//') 1.20 [ -n "$FILE" ] || continue 1.21 wget $URL$RELEASE/$FILE 1.22 [ -s $FILE ] && break