wok diff facter/receipt @ rev 25687
updated sc-im (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 14:51:51 2024 +0100 (7 months ago) |
parents | 1be16cc1cd50 |
children |
line diff
1.1 --- a/facter/receipt Wed May 18 11:39:29 2022 +0000 1.2 +++ b/facter/receipt Thu Apr 11 14:51:51 2024 +0100 1.3 @@ -16,8 +16,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.