wok diff nwipe/receipt @ rev 25710
typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 25 12:42:06 2024 +0000 (4 months ago) |
parents | 6b6d14c9f7e9 |
children |
line diff
1.1 --- a/nwipe/receipt Thu Apr 08 09:21:26 2021 +0000 1.2 +++ b/nwipe/receipt Thu Jul 25 12:42:06 2024 +0000 1.3 @@ -13,10 +13,11 @@ 1.4 DEPENDS="ncurses parted util-linux-uuid dmidecode" 1.5 BUILD_DEPENDS="pkg-config libtool ncurses-dev parted-dev dmidecode" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.