wok diff autofs/receipt @ rev 24573

updated freetype and freetype-dev (2.10.2 -> 2.11.1)
author Hans-G?nter Theisgen
date Sun Feb 27 07:45:56 2022 +0100 (2022-02-27)
parents 71360a13cd94
children
line diff
     1.1 --- a/autofs/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/autofs/receipt	Sun Feb 27 07:45:56 2022 +0100
     1.3 @@ -22,8 +22,9 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
     1.8 -	sed '/>v/!d;s|.*="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \	
     1.9 +	local version="$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    1.10 +		sed '/>v/!d;s|.*="||;s|".*||' | sort -Vr | sed q)"
    1.11 +	wget -O - ${WGET_URL%/*/*}/$version 2>/dev/null | \
    1.12  	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
    1.13  }
    1.14