wok diff linux64-open-vm-tools-kernel/receipt @ rev 25836

Update some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 10:55:10 2025 +0000 (4 months ago)
parents ac8ca9758df1
children
line diff
     1.1 --- a/linux64-open-vm-tools-kernel/receipt	Sat Jan 15 15:21:40 2022 +0000
     1.2 +++ b/linux64-open-vm-tools-kernel/receipt	Wed May 07 10:55:10 2025 +0000
     1.3 @@ -19,10 +19,11 @@
     1.4  
     1.5  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.11 -	sed '/release.*tar.gz/!d;s|.*/open-vm-tools-\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.