wok diff wqy-microhei/receipt @ rev 25607

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 13:00:59 2023 +0000 (11 months ago)
parents 7cfc423aaa00
children b81ceff0b056
line diff
     1.1 --- a/wqy-microhei/receipt	Tue Jan 25 17:24:16 2022 +0000
     1.2 +++ b/wqy-microhei/receipt	Wed Jul 19 13:00:59 2023 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - https://sourceforge.net/projects/wqy/files/ 2>/dev/null | \
     1.7 -	sed '/scope="row/!d;/wqy-microhei\//!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.8 +	sed '/scope="row/!d;/wqy-microhei\//!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
     1.9  	sed 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",|/|;q' | xargs wget -O - 2>/dev/null | \
    1.10  	sed '/tar/!d;/wqy-microhei/!d;s|.*wqy-microhei-||;s|.tar.*||;q'
    1.11  }