wok diff keyutils/receipt @ rev 25734
updated sc-im (-> 0.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 22 14:48:42 2024 +0100 (2 months ago) |
parents | a4f828dcc860 |
children |
line diff
1.1 --- a/keyutils/receipt Thu Apr 14 08:53:05 2022 +0000 1.2 +++ b/keyutils/receipt Thu Aug 22 14:48:42 2024 +0100 1.3 @@ -16,10 +16,11 @@ 1.4 1.5 CONFIG_FILES="/etc/request-key.conf /etc/request-key.d" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.11 - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.12 + wget -O - $WEB_SITE 2>/dev/null | \ 1.13 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q 1.14 } 1.15 1.16 # Rules to configure and make the package.