wok diff modsecurity-apache/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (23 months ago) |
parents | 519a42308d05 |
children | 4f02a37747b4 |
line diff
1.1 --- a/modsecurity-apache/receipt Fri Jul 22 07:58:08 2022 +0000 1.2 +++ b/modsecurity-apache/receipt Sun Jul 16 15:14:43 2023 +0000 1.3 @@ -21,7 +21,7 @@ 1.4 current_version() 1.5 { 1.6 wget -O - https://github.com/SpiderLabs/ModSecurity/releases 2>/dev/null | \ 1.7 - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.8 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.9 } 1.10 1.11 # Rules to configure and make the package.