cookutils diff modules/postcheck @ rev 1148

cook: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 15:36:25 2021 +0000 (2021-11-09)
parents 0385051c3996
children
line diff
     1.1 --- a/modules/postcheck	Fri Jan 11 15:14:53 2019 +0200
     1.2 +++ b/modules/postcheck	Tue Nov 09 15:36:25 2021 +0000
     1.3 @@ -67,6 +67,7 @@
     1.4  	else
     1.5  		# set HOST_WGET in cook.conf
     1.6  		versions=$($HOST_WGET -q -T 20 -O- https://repology.org/badge/latest-versions/$1.svg \
     1.7 +		| sed 's|<text |\n&|g; s|</text>|&\n|g' \
     1.8  		| sed '/<text /!d; /fill/d; /latest/d; s|.*>\(.*\)<.*|\1|; s|, | |g') # space separated list
     1.9  		if [ -n "$versions" ]; then
    1.10  			sed -i "/^$1	/d" $repologydb