wok diff snapper/receipt @ rev 24910
Update some web_site (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:32:04 2022 +0000 (2022-04-09) |
parents | 934055de50e2 |
children | 976aaa1af0d2 |
line diff
1.1 --- a/snapper/receipt Wed Feb 16 21:07:01 2022 +0000 1.2 +++ b/snapper/receipt Sat Apr 09 14:32:04 2022 +0000 1.3 @@ -22,8 +22,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/*}/ 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 - https://github.com/openSUSE/snapper/tags 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.