wok diff mpg123/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 83b97236db32
children cf6b90afa0a2
line diff
     1.1 --- a/mpg123/receipt	Sat Feb 12 11:42:56 2022 +0000
     1.2 +++ b/mpg123/receipt	Sat Apr 02 17:34:21 2022 +0100
     1.3 @@ -26,7 +26,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.7 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.8 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.