wok diff codiad/receipt @ rev 24116
Add btfs (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 02 18:25:40 2021 +0000 (2021-10-02) |
parents | 8fd617e454b5 |
children | 8ea0030e77cb |
line diff
1.1 --- a/codiad/receipt Fri Jan 10 13:31:59 2020 +0100 1.2 +++ b/codiad/receipt Sat Oct 02 18:25:40 2021 +0000 1.3 @@ -17,6 +17,12 @@ 1.4 1.5 CONFIG_FILES="/etc/codiad.php" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v.\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 {