cacert: add au.hash (#351)

This commit is contained in:
linsui 2019-08-16 21:52:26 +08:00 committed by Richard Kuhnt
parent 98927adfea
commit e4e037ab9f

View File

@ -7,10 +7,14 @@
"hash": "cb2eca3fbfa232c9e3874e3852d43b33589f27face98eef10242a853d83a437a", "hash": "cb2eca3fbfa232c9e3874e3852d43b33589f27face98eef10242a853d83a437a",
"checkver": { "checkver": {
"url": "https://curl.haxx.se/docs/caextract.html", "url": "https://curl.haxx.se/docs/caextract.html",
"re": "cacert-([\\d-]{10}).pem" "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)\") {cp \"$dir\\cacert.pem\" \"$(appdir curl $global)\\current\\bin\\curl-ca-bundle.crt\"}",
"autoupdate": { "autoupdate": {
"url": "https://curl.haxx.se/ca/cacert-$version.pem#/cacert.pem" "url": "https://curl.haxx.se/ca/cacert-$version.pem#/cacert.pem",
"hash": {
"url": "$baseurl/cacert.pem.sha256",
"regex": "$sha256"
}
} }
} }