From 851e0666500071a955fbd97f4f2ac5ba68852279 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Wed, 28 Aug 2019 06:20:26 +0000 Subject: [PATCH] cacert: remove au.hash (#384) --- bucket/cacert.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/bucket/cacert.json b/bucket/cacert.json index c8b755ee53..496f6294c4 100644 --- a/bucket/cacert.json +++ b/bucket/cacert.json @@ -4,17 +4,14 @@ "description": "CA certificates extracted from the Mozilla CA certificate store, in PEM format", "license": "MPL-2.0", "url": "https://curl.haxx.se/ca/cacert-2019-08-28.pem#/cacert.pem", - "hash": "cb2eca3fbfa232c9e3874e3852d43b33589f27face98eef10242a853d83a437a", + "hash": "38b6230aa4bee062cd34ee0ff6da173250899642b1937fc130896290b6bd91e3", "checkver": { "url": "https://curl.haxx.se/docs/caextract.html", "regex": "cacert-([\\d-]+)\\.pem" }, - "post_install": "if (Test-Path \"$(appdir curl $global)\") {cp \"$dir\\cacert.pem\" \"$(appdir curl $global)\\current\\bin\\curl-ca-bundle.crt\"}", + "post_install": "if (Test-Path \"$(appdir curl $global)\") { Copy-Item \"$dir\\cacert.pem\" \"$(appdir curl $global)\\current\\bin\\curl-ca-bundle.crt\" }", "autoupdate": { - "url": "https://curl.haxx.se/ca/cacert-$version.pem#/cacert.pem", - "hash": { - "url": "$baseurl/cacert.pem.sha256", - "regex": "$sha256" - } - } + "url": "https://curl.haxx.se/ca/cacert-$version.pem#/cacert.pem" + }, + "##": "Do not extract hash, it's not up to date." }