upd and patches
This commit is contained in:
@ -5,9 +5,7 @@ pub fn link(repo: &String, pkgname: &String) {
|
||||
let source = crate::commands::get_aeropkg_base().join(repo).join(pkgname);
|
||||
if source.join("disabled").exists() { println!("Disabled package, no linking: {}\nUse `pkg enable {}` to link", pkgname, pkgname); return }
|
||||
|
||||
let destination = source.parent()
|
||||
.ok_or("Failed to get parent directory for path").unwrap()
|
||||
.to_path_buf();
|
||||
let destination = &crate::commands::get_aeropkg_base().join(repo);
|
||||
|
||||
let dirs_to_copy = vec![
|
||||
("bin"),
|
||||
|
||||
Reference in New Issue
Block a user