get-scripts diff javajre @ rev 34
Add sublime-text-3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 23 08:59:52 2015 +0100 (2015-03-23) |
parents | 890d312f93cf |
children | 62d94e6800db |
line diff
1.1 --- a/javajre Mon Jan 26 11:21:08 2015 +0100 1.2 +++ b/javajre Mon Mar 23 08:59:52 2015 +0100 1.3 @@ -1,4 +1,6 @@ 1.4 +SHORT_DESC="The lastest java runtime environment" 1.5 WEB_SITE="http://java.com/en/download/linux_manual.jsp?locale=en" 1.6 +# end of get.list data 1.7 WGET_URL="$(wget -O - "$WEB_SITE" | sed '/Linux rpm/!d;s/.*href="\([^"]*\).*/\1/;q')" 1.8 wget -O - "$WGET_URL" > p.rpm 1.9 [ -s p.rpm ] || abort_package "Could not download RPM from $WGET_URL. Exiting."