0.2.10: update pkgar

This commit is contained in:
Jeremy Soller
2022-03-17 16:35:15 -06:00
parent 3c03576518
commit 9ea9a6ecac
3 changed files with 209 additions and 86 deletions
+2 -2
View File
@@ -122,10 +122,10 @@ fn install_packages<S: AsRef<str>>(config: &Config, dest: &str, cookbook: Option
env::current_dir().unwrap().to_string_lossy(),
cookbook.as_ref(), target, packagename);
if Path::new(&pkgar_path).exists() {
let public_path = format!("{}/{}/build/public.key",
let public_path = format!("{}/{}/build/id_ed25519.pub.toml",
env::current_dir().unwrap().to_string_lossy(),
cookbook.as_ref());
pkgar::bin::extract(&public_path, &pkgar_path, dest).unwrap();
pkgar::extract(&public_path, &pkgar_path, dest).unwrap();
} else {
let path = format!("{}/{}/repo/{}/{}.tar.gz",
env::current_dir().unwrap().to_string_lossy(),