wok diff makeself/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (16 months ago) |
parents | 860cdb4f3471 |
children |
line diff
1.1 --- a/makeself/receipt Thu Mar 31 14:03:13 2022 +0100 1.2 +++ b/makeself/receipt Sun Jul 16 15:14:43 2023 +0000 1.3 @@ -11,10 +11,11 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WGET_URL="https://github.com/megastep/$PACKAGE/archive/release-$VERSION.tar.gz" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;/release-/!d;s|.*/release-\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.