mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	cacert: Update url and Add hash extraction (#4756)
* cacert: update domain * cacert: add hash extraction
This commit is contained in:
		
							parent
							
								
									5f312b420c
								
							
						
					
					
						commit
						a2790191a4
					
				@ -1,14 +1,17 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "##": "Do not extract hash, it's not up to date.",
 | 
					 | 
				
			||||||
    "version": "2023-01-10",
 | 
					    "version": "2023-01-10",
 | 
				
			||||||
    "description": "CA certificates extracted from the Mozilla CA certificate store, in PEM format",
 | 
					    "description": "CA certificates extracted from the Mozilla CA certificate store, in PEM format",
 | 
				
			||||||
    "homepage": "https://curl.haxx.se/docs/caextract.html",
 | 
					    "homepage": "https://curl.se/docs/caextract.html",
 | 
				
			||||||
    "license": "MPL-2.0",
 | 
					    "license": "MPL-2.0",
 | 
				
			||||||
    "url": "https://curl.haxx.se/ca/cacert-2023-01-10.pem#/cacert.pem",
 | 
					    "url": "https://curl.se/ca/cacert-2023-01-10.pem#/cacert.pem",
 | 
				
			||||||
    "hash": "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0",
 | 
					    "hash": "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0",
 | 
				
			||||||
    "post_install": "if (Test-Path \"$(appdir curl $global)\") { Copy-Item \"$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\" }",
 | 
				
			||||||
    "checkver": "cacert-([\\d-]+)\\.pem",
 | 
					    "checkver": "cacert-([\\d-]+)\\.pem",
 | 
				
			||||||
    "autoupdate": {
 | 
					    "autoupdate": {
 | 
				
			||||||
        "url": "https://curl.haxx.se/ca/cacert-$version.pem#/cacert.pem"
 | 
					        "url": "https://curl.se/ca/cacert-$version.pem#/cacert.pem",
 | 
				
			||||||
 | 
					        "hash": {
 | 
				
			||||||
 | 
					            "url": "$url.sha256",
 | 
				
			||||||
 | 
					            "regex": "$sha256"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user