wok diff os-prober/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
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	Sat May 21 21:38:29 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  {