wok diff tazwok/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents 1eac19b43f27
children
line diff
     1.1 --- a/tazwok/receipt	Thu Apr 20 10:46:08 2017 +0200
     1.2 +++ b/tazwok/receipt	Sat Apr 02 17:34:21 2022 +0100
     1.3 @@ -13,6 +13,13 @@
     1.4  
     1.5  DEPENDS="busybox slitaz-base-files"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
    1.10 +	sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
    1.11 +	xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {