wok-current diff e2fsprogs/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | ef1efd2c8811 |
children | 7dd01dedad38 |
line diff
1.1 --- a/e2fsprogs/receipt Mon Jul 05 18:07:57 2021 +0000 1.2 +++ b/e2fsprogs/receipt Thu Feb 03 12:55:23 2022 +0000 1.3 @@ -22,10 +22,11 @@ 1.4 arm) BUILD_DEPENDS="" ;; 1.5 esac 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git 2>/dev/null | \ 1.11 - sed '1,/Download/d;s|.*h=v||;s|.>.*||;q' 1.12 + sed '1,/Download/d;/h=v/!d;s|.*h=v||;s|.>.*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.