wok diff scalpel/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 164fcaca1cd0 |
children | 373233562953 |
line diff
1.1 --- a/scalpel/receipt Sat Nov 30 20:43:45 2013 +0000 1.2 +++ b/scalpel/receipt Sat Sep 03 09:28:15 2022 +0000 1.3 @@ -10,6 +10,13 @@ 1.4 WEB_SITE="http://www.digitalforensicssolutions.com/Scalpel" 1.5 WGET_URL="$WEB_SITE/$TARBALL" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://raw.githubusercontent.com/sleuthkit/scalpel/master/Changelog 2>/dev/null | \ 1.11 + sed '/^[0-9]/!d;s|[^0-9\.].*||' | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {