wok diff cddetect/receipt @ rev 24779
thttpd: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 18:08:11 2022 +0000 (2022-03-19) |
parents | 2a0479881723 |
children | 0c82700f4deb |
line diff
1.1 --- a/cddetect/receipt Sun Feb 13 13:09:42 2022 +0000 1.2 +++ b/cddetect/receipt Sat Mar 19 18:08:11 2022 +0000 1.3 @@ -14,8 +14,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - $WEB_SITE 2>/dev/null | \ 1.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.9 + wget -O - http://www.bellut.net/projects.html 2>/dev/null | \ 1.10 + sed '/cddetect-[0-9]/!d;s|.*cddetect-||;s|.t.*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.