X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update-all;h=67c24cd5f581619e1b1e9330a3212dfc88e14929;hb=c6eb1e00be821ab12e0edaa622e75eff1ec8abd2;hp=614d1a48fffd7481dc04c37bb100d69bf7c5f4f5;hpb=18437f3921525750648f80ccb7befc8fb260a33f;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 614d1a4..67c24cd 100755 --- a/update-all +++ b/update-all @@ -1,6 +1,11 @@ #! /bin/sh cd ../htdocs && \ + ssh phdppru@phd.pp.ru "cd public_html && exec mv .htaccess awstats cgi-bin ../tmp" && \ distribute -r public_html/ -d phd.pp.ru/ && \ -exec ssh phdppru@phd.pp.ru "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html" +ssh phdppru@phd.pp.ru "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html" && \ + +ssh iskra-aviel.phd.pp.ru sitecopy -u fatal.ru by.ru && \ +cd "$HOME" && rsync -avPz iskra-aviel.phd.pp.ru:.sitecopy . && \ +exec distribute .sitecopy