diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-09-01 17:21:54 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-09-01 17:21:54 +0800 |
commit | 799022f5f41f23cb8a368ef63c90f4e11b135c01 (patch) | |
tree | 8fea97f9a72625869b397387715ac521539bc19f /sh | |
parent | b9048c0f56c2967d7365a854e7db47ea84a5365a (diff) |
mpra use xyz@mirrors.flylightning.xyz instead of ca to consider future I may put website on other machines
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/mpra | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -59,10 +59,10 @@ else fi if [ "$copy_any" ]; then - ssh -t -- ca '[ -d programs/repos/fly/any/repo ] || mkdir -p programs/repos/fly/any/repo' - rsync -avP --delete ../repo/ ca:programs/repos/fly/any/repo - echo 'Wait for ca sudo prompt and enter password:' - ssh -t -- ca 'sudo rsync -vPrlu --delete programs/repos/fly/any/repo/ /srv/http/mirrors/archlinux/fly/os/any' + ssh -t -- xyz@mirrors.flylightning.xyz '[ -d programs/repos/fly/any/repo ] || mkdir -p programs/repos/fly/any/repo' + rsync -avP --delete ../repo/ xyz@mirrors.flylightning.xyz:programs/repos/fly/any/repo + echo 'Wait for mirrors.flylightning.xyz sudo prompt and enter password:' + ssh -t -- xyz@mirrors.flylightning.xyz 'sudo rsync -vPrlu --delete programs/repos/fly/any/repo/ /srv/http/mirrors/archlinux/fly/os/any' fi if [ "$copy" ]; then |