wok diff keychain/receipt @ rev 24403
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 18:20:23 2022 +0000 (2022-02-08) |
parents | 1f0773e2f6fe |
children | 20ad21d5532c |
line diff
1.1 --- a/keychain/receipt Sat Mar 16 10:28:53 2019 +0100 1.2 +++ b/keychain/receipt Tue Feb 08 18:20:23 2022 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 1.5 SUGGESTED="gnupg openssh" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 {