wok diff lxsession046/receipt @ rev 25606
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 11:40:29 2023 +0000 (19 months ago) |
parents | ea7c7014b421 |
children |
line diff
1.1 --- a/lxsession046/receipt Tue Jun 07 08:21:12 2022 +0000 1.2 +++ b/lxsession046/receipt Wed Jul 19 11:40:29 2023 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 DEPENDS="gtk+ dbus" 1.5 BUILD_DEPENDS="gtk+-dev dbus-dev intltool" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \ 1.11 - sed '/scope="row/!d;/0.4.6/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed '/scope="row/!d;/0.4.6/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ 1.13 sed "/$ORIGIN-/!d;s|.*$ORIGIN-\\(.*\\).tar.*\".*|\\1|;q" 1.14 } 1.15