wok-6.x diff reiser4progs/receipt @ rev 24694

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 12:06:14 2022 +0000 (2022-03-13)
parents e919c5a2742d
children 579ba8e60043
line diff
     1.1 --- a/reiser4progs/receipt	Wed Feb 02 18:01:43 2022 +0000
     1.2 +++ b/reiser4progs/receipt	Sun Mar 13 12:06:14 2022 +0000
     1.3 @@ -19,8 +19,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/reiser4/files/reiser4-utils/reiser4progs/ 2>/dev/null | \
     1.8 -	sed '/scope="row/!d;/tar/!d;s|.*/reiser4progs-||;s|.tar.*||;q'
     1.9 +	wget -O - https://mirrors.edge.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ 2>/dev/null | \
    1.10 +	sed '/v[0-9]/!d;/x/d;s|.*"v||;s|/.*||' | sort -Vr | sed q
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.