wok diff exo/receipt @ rev 24462
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 16 21:07:01 2022 +0000 (2022-02-16) |
parents | 17091bc7c301 |
children | bd7510903310 |
line diff
1.1 --- a/exo/receipt Thu Feb 10 18:04:02 2022 +0000 1.2 +++ b/exo/receipt Wed Feb 16 21:07:01 2022 +0000 1.3 @@ -19,7 +19,9 @@ 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 + wget -O - https://archive.xfce.org/src/xfce/exo/$( \ 1.9 + wget -O - https://archive.xfce.org/src/xfce/exo/ 2>/dev/null | \ 1.10 + sed '/href="[0-4]/!d;s|.*">||;s|/<.*|/|' | sort -Vr | sed q) 2>/dev/null | \ 1.11 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q 1.12 } 1.13