wok diff dhid/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | bfabe25c21ff |
children |
line diff
1.1 --- a/dhid/receipt Sun Feb 13 18:01:32 2022 +0000 1.2 +++ b/dhid/receipt Wed Oct 23 16:19:52 2024 +0100 1.3 @@ -18,8 +18,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.9 + wget -O - 'http://dhis.org/WebEngine.ipo?context=dhis.website.downloads' 2>/dev/null | \ 1.10 + sed '/dhid-[0-9]/!d;s|.*dhid-||;s|<.*||;q' 1.11 } 1.12 1.13 # Handle cross comilation