wok diff os-prober/receipt @ rev 24981

Up pce (20220220-991c55d9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 10:57:53 2022 +0000 (2022-05-08)
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	Sun May 08 10:57:53 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  {