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 ..