From 46e556392d798d6931aeac32ac6f25264bc36945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=AE?= Date: Mon, 2 Jan 2023 20:09:38 +0900 Subject: [PATCH] Added something. --- sync.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sync.sh b/sync.sh index 427457a..ef202bd 100755 --- a/sync.sh +++ b/sync.sh @@ -51,5 +51,7 @@ rsync -rtvzP i2p $DARKNETSRV:/www/active/ryocafe.site # RSS and TWTXT for Clearnet rsync -rtvzP i2p/blog.atom $CLEARNETSRV:/www/active/ryocafe.site/www cd i2p && find . -type f -name "twtxt.txt" -exec sed -i 's/http:\/\/076\.i2p\/static\/asshole\.png/https:\/\/076\.moe\/static\/asshole\.png/g' {} + && cd .. +cd i2p && find . -type f -name "twtxt.txt" -exec sed -i 's/http:\/\/ryocafe\.i2p\/twtxt\.txt/https:\/\/ryocafe\.site\/twtxt\.txt/g' {} + && cd .. rsync -rtvzP i2p/twtxt.txt $CLEARNETSRV:/www/active/ryocafe.site/www cd i2p && find . -type f -name "twtxt.txt" -exec sed -i 's/https:\/\/076\.moe\/static\/asshole\.png/http:\/\/076\.i2p\/static\/asshole\.png/g' {} + && cd .. +cd i2p && find . -type f -name "twtxt.txt" -exec sed -i 's/https:\/\/ryocafe\.site\/twtxt\.txt/http:\/\/ryocafe\.i2p\/twtxt\.txt/g' {} + && cd ..