wok diff os-prober/receipt @ rev 25023
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 17:10:15 2022 +0000 (2022-05-18) |
parents | 6323f548cca6 |
children | 20e25baceb78 |
line diff
1.1 --- a/os-prober/receipt Wed Dec 29 06:36:37 2021 +0100 1.2 +++ b/os-prober/receipt Wed May 18 17:10:15 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 1.5 DEPENDS="coreutils" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.10 + sed "/$PACKAGE/!d;s|.*${PACKAGE}_||;s|_.*||" | tail -n 1 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {