# HG changeset patch # User Xander Ziiryanoff # Date 1506440052 -7200 # Node ID 8e84604f9739aefc8d1524b1a7a577d4ba96a420 # Parent 7ae691f497b225c84bf37c866d3441c2e777913c opera: 404, update $URL diff -r 7ae691f497b2 -r 8e84604f9739 opera --- a/opera Fri Jun 16 02:55:30 2017 -0400 +++ b/opera Tue Sep 26 17:34:12 2017 +0200 @@ -1,7 +1,7 @@ SHORT_DESC="Opera browser" WEB_SITE="http://www.opera.com/" # end of get.list data -URL=http://mirror.switch.ch/ftp/mirror/opera/linux/ +URL=https://ftp.opera.com/pub/opera/linux/ get_releases() { @@ -9,13 +9,14 @@ } # Download deb -for RELEASE in $@ $(get_releases); do +### for RELEASE in $@ $(get_releases); do + RELEASE=1216 TARBALL=$(wget -O- "$URL$RELEASE/" 2>/dev/null |sed 's|.*[Ff]="\(.*\)".*|\1|;/6.d/!d;q'|sed 's/".*//') [ -n "$TARBALL" ] || continue WGET_URL=$URL$RELEASE/$TARBALL wget $WGET_URL - [ -s $TARBALL ] && break -done +### [ -s $TARBALL ] && break +### done [ -f $TARBALL ] || abort_package