mirror of https://github.com/zulip/zulip.git
install-ssh-*: Pass -a to rsync to preserve rights, owners, and times.
This commit is contained in:
parent
0bd1e2b434
commit
f8a9edc382
|
@ -26,4 +26,4 @@ if [ "$#" -gt 2 ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
rsync -v "$workfile" "$sshdir/authorized_keys"
|
||||
rsync -av "$workfile" "$sshdir/authorized_keys"
|
||||
|
|
|
@ -34,6 +34,6 @@ if [ "$#" -gt 2 ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
rsync -rv --delete \
|
||||
rsync -av --delete \
|
||||
--exclude config --exclude authorized_keys --exclude known_hosts \
|
||||
"$workdir/" "$sshdir/"
|
||||
|
|
Loading…
Reference in New Issue