wok-current rev 20078

get-opera: update URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 27 14:57:58 2017 +0200 (2017-09-27)
parents cec701c81209
children 20ba6a60a92f
files get-opera/stuff/get-opera
line diff
     1.1 --- a/get-opera/stuff/get-opera	Wed Sep 27 11:16:14 2017 +0200
     1.2 +++ b/get-opera/stuff/get-opera	Wed Sep 27 14:57:58 2017 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  WEB_SITE="http://www.opera.com/"
     1.5  CATEGORY="non-free"
     1.6  DEPENDS=""
     1.7 -URL=http://mirror.switch.ch/ftp/mirror/opera/linux/
     1.8 +URL=https://ftp.opera.com/pub/opera/linux/
     1.9  
    1.10  ROOT="$1"
    1.11  [ -d "$ROOT" ] || ROOT=""
    1.12 @@ -27,7 +27,7 @@
    1.13  
    1.14  get_releases()
    1.15  {
    1.16 -	wget -qO- "$URL?C=M;O=D" | sed 's|.*[Ff]="\([^"/]*\).*|\1|;/[^0-9b]/d'
    1.17 +	wget -qO- "$URL" | sed 's|.*[Ff]="\([^"/]*\).*|\1|;/[^0-9b]/d' | tac
    1.18  }
    1.19  
    1.20  # Download deb