return -X (save xattr data) rsync flag

This commit is contained in:
2026-09-10 19:06:21 +03:00
parent a6059bd1fd
commit 410f4524c2

View File

@ -94,7 +94,7 @@ pub fn download(repo: &String, pkgname: &String, force: bool, recursive: bool) {
io::stdout().flush().unwrap(); io::stdout().flush().unwrap();
let mut cmd = Command::new("rsync"); let mut cmd = Command::new("rsync");
cmd.arg("-azH").arg("--stats"); cmd.arg("-azHX").arg("--stats").arg("--no-times");
if force { cmd.arg("--delete"); } if force { cmd.arg("--delete"); }
cmd.arg(&remote_path); cmd.arg(&remote_path);
cmd.arg(&local_path_sync); cmd.arg(&local_path_sync);