get-scripts diff opera @ rev 80
libreoffice: fix menu entries (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 09 11:40:00 2019 +0200 (2019-06-09) |
parents | af72949c6633 |
children |
line diff
1.1 --- a/opera Wed Sep 27 13:40:10 2017 +0200 1.2 +++ b/opera Sun Jun 09 11:40:00 2019 +0200 1.3 @@ -5,18 +5,17 @@ 1.4 1.5 get_releases() 1.6 { 1.7 - wget -qO- "$URL?C=M;O=D" | sed 's|.*[Ff]="\([^"/]*\).*|\1|;/[^0-9b]/d' 1.8 + wget -qO- "$URL" | sed 's|.*[Ff]="\([^"/]*\).*|\1|;/[^0-9b]/d' | tac 1.9 } 1.10 1.11 # Download deb 1.12 -### for RELEASE in $@ $(get_releases); do 1.13 - RELEASE=1216 1.14 +for RELEASE in $@ $(get_releases); do 1.15 TARBALL=$(wget -O- "$URL$RELEASE/" 2>/dev/null |sed 's|.*[Ff]="\(.*\)".*|\1|;/6.d/!d;q'|sed 's/".*//') 1.16 [ -n "$TARBALL" ] || continue 1.17 WGET_URL=$URL$RELEASE/$TARBALL 1.18 wget $WGET_URL 1.19 -### [ -s $TARBALL ] && break 1.20 -### done 1.21 + [ -s $TARBALL ] && break 1.22 +done 1.23 1.24 [ -f $TARBALL ] || abort_package 1.25