wok diff openconnect/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 241fb98cab1c |
children | 426a1cad702b |
line diff
1.1 --- a/openconnect/receipt Tue Feb 15 18:29:48 2022 +0000 1.2 +++ b/openconnect/receipt Sat Apr 02 17:34:21 2022 +0100 1.3 @@ -18,8 +18,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://gitlab.com/openconnect/openconnect/-/tags?sort=updated_desc' 2>/dev/null | \ 1.10 + sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.