get-scripts rev 70

opera: 404, update $URL
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 26 17:34:12 2017 +0200 (24 months ago)
parents 7ae691f497b2
children 87305862533f
files opera
line diff
     1.1 --- a/opera	Fri Jun 16 02:55:30 2017 -0400
     1.2 +++ b/opera	Tue Sep 26 17:34:12 2017 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  SHORT_DESC="Opera browser"
     1.5  WEB_SITE="http://www.opera.com/"
     1.6  # end of get.list data
     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  get_releases()
    1.11  {
    1.12 @@ -9,13 +9,14 @@
    1.13  }
    1.14  
    1.15  # Download deb
    1.16 -for RELEASE in $@ $(get_releases); do
    1.17 +### for RELEASE in $@ $(get_releases); do
    1.18 +	RELEASE=1216
    1.19  	TARBALL=$(wget -O- "$URL$RELEASE/" 2>/dev/null |sed 's|.*[Ff]="\(.*\)".*|\1|;/6.d/!d;q'|sed 's/".*//')
    1.20  	[ -n "$TARBALL" ] || continue
    1.21  	WGET_URL=$URL$RELEASE/$TARBALL
    1.22  	wget $WGET_URL
    1.23 -	[ -s $TARBALL ] && break
    1.24 -done
    1.25 +### 	[ -s $TARBALL ] && break
    1.26 +### done
    1.27  
    1.28  [ -f $TARBALL ] || abort_package
    1.29