X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=inline;f=update-all;h=67c24cd5f581619e1b1e9330a3212dfc88e14929;hb=8dba3199ebeac8260f5a0e90f68b6adcc91d579b;hp=4423f10667e4eea767b034430c225ef56ac02dd0;hpb=6aa7ab00b5dc30b6221d0d55fecc1b0b957cdd79;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 4423f10..67c24cd 100755 --- a/update-all +++ b/update-all @@ -1,2 +1,11 @@ #! /bin/sh -cd ../htdocs && exec distribute -d phd.pp.ru + +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/ && \ +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