This commit is contained in:
SpikeHD
2023-03-23 08:53:42 -07:00
parent 01d12178ba
commit 90b86b42d0
7 changed files with 11 additions and 14 deletions

View File

@@ -353,7 +353,7 @@ pub fn install_ca_files(cert_path: &Path) {
// Create dir if it doesn't exist
fs::create_dir_all(&usr_certs).expect("Unable to create local certificate directory");
fs::copy(cert_path, &usr_cert_path).expect("Unable to copy cert to local certificate directory");
fs::copy(cert_path, usr_cert_path).expect("Unable to copy cert to local certificate directory");
run_command("update-ca-certificates", vec![], None);
println!("Installed certificate.");