.pkgdata link force flag add
This commit is contained in:
@ -29,7 +29,7 @@ pub fn download(repo: &String, pkgname: &String) {
|
||||
}
|
||||
let pkgdata = crate::commands::get_aeropkg_var().join(repo).join(pkgname).join(".pkgdata.patch");
|
||||
if pkgdata.exists() {
|
||||
let status = Command::new("cp").args(["-rPl", &format!("{}/.", pkgdata.to_string_lossy()), &src.to_string_lossy()]).status();
|
||||
let status = Command::new("cp").args(["-rPlf", &format!("{}/.", pkgdata.to_string_lossy()), &src.to_string_lossy()]).status();
|
||||
if let Err(e) = status { eprintln!("Warning: failed to copy .pkgdata for {}/{}: {}", repo, pkgname, e) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user