summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-09-01 17:21:54 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-09-01 17:21:54 +0800
commit799022f5f41f23cb8a368ef63c90f4e11b135c01 (patch)
tree8fea97f9a72625869b397387715ac521539bc19f
parentb9048c0f56c2967d7365a854e7db47ea84a5365a (diff)
mpra use xyz@mirrors.flylightning.xyz instead of ca to consider future I may put website on other machines
-rwxr-xr-xsh/mpra8
1 files changed, 4 insertions, 4 deletions
diff --git a/sh/mpra b/sh/mpra
index 54fd4aa..926d526 100755
--- a/sh/mpra
+++ b/sh/mpra
@@ -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