pkg download disable -X (save xattrs data) rsync flag
This commit is contained in:
@ -22,7 +22,7 @@ cp -f "$SCRIPT_DIR/target/release/pkg" "$SCRIPT_DIR/target/release/bin"
|
||||
echo "Installing to '$INSTALL_PATH'..."
|
||||
rsync -a --delete --exclude='etc/' "$SCRIPT_DIR/assets/" "$SCRIPT_DIR/target/release/bin" "$INSTALL_PATH/"
|
||||
PATH="/bin:/pkg/musl/bin:/pkg/musl/sbin:/pkg/gnu/bin:/pkg/gnu/sbin" chroot /mnt/aerolinux /pkg/gnu/aeropkg/bin/pkg link aeropkg
|
||||
rsync -a --delete --exclude='etc/index-conflict.md' "$SCRIPT_DIR/assets/" "$SCRIPT_DIR/target/release/bin" air:"$INSTALL_PATH/"
|
||||
rsync -a --delete --exclude='etc/' "$SCRIPT_DIR/assets/" "$SCRIPT_DIR/target/release/bin" air:"$INSTALL_PATH/"
|
||||
ssh air /pkg/gnu/aeropkg/bin/pkg link aeropkg
|
||||
rsync -a --delete --exclude='etc/index-conflict.md' "$SCRIPT_DIR/assets/" "$SCRIPT_DIR/target/release/bin" aura:"$INSTALL_PATH/"
|
||||
ssh aura /pkg/gnu/aeropkg/bin/pkg link aeropkg
|
||||
|
||||
@ -94,7 +94,7 @@ pub fn download(repo: &String, pkgname: &String, force: bool, recursive: bool) {
|
||||
io::stdout().flush().unwrap();
|
||||
|
||||
let mut cmd = Command::new("rsync");
|
||||
cmd.arg("-azHX").arg("--stats");
|
||||
cmd.arg("-azH").arg("--stats");
|
||||
if force { cmd.arg("--delete"); }
|
||||
cmd.arg(&remote_path);
|
||||
cmd.arg(&local_path_sync);
|
||||
|
||||
Reference in New Issue
Block a user