get-scripts diff javajre @ rev 46

bitcoin, litecoin: add --get-version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 29 14:40:00 2015 +0200 (2015-05-29)
parents 890d312f93cf
children 62d94e6800db
line diff
     1.1 --- a/javajre	Mon Jan 26 11:21:08 2015 +0100
     1.2 +++ b/javajre	Fri May 29 14:40:00 2015 +0200
     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."