wok-6.x diff speakup-utils/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | 934055de50e2 |
children |
line diff
1.1 --- a/speakup-utils/receipt Wed Feb 16 21:07:01 2022 +0000 1.2 +++ b/speakup-utils/receipt Tue Sep 06 07:38:52 2022 +0000 1.3 @@ -16,8 +16,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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|_.*||" | sort -Vr | sed q 1.9 + wget -O - http://linux-speakup.org/speakup.git/info/refs 2>/dev/null | \ 1.10 + tail -n1 | sed 's|.*tags/v||' 1.11 } 1.12 1.13 # Rules to gen a SliTaz package suitable for Tazpkg.