wok diff get-opera/stuff/get-opera @ rev 25076

Up marlin (886)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 08:17:07 2022 +0000 (2022-06-14)
parents a97709a29fd3
children
line diff
     1.1 --- a/get-opera/stuff/get-opera	Sat Jun 06 21:23:13 2015 +0200
     1.2 +++ b/get-opera/stuff/get-opera	Tue Jun 14 08:17:07 2022 +0000
     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