X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update-all;h=0320214e716e75fc847920829fd1b89a7b2f8ce1;hb=253cdee8a17751e898f025cec46d2baaf39381e1;hp=4423f10667e4eea767b034430c225ef56ac02dd0;hpb=6aa7ab00b5dc30b6221d0d55fecc1b0b957cdd79;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 4423f10..0320214 100755 --- a/update-all +++ b/update-all @@ -1,2 +1,11 @@ #! /bin/sh -cd ../htdocs && exec distribute -d phd.pp.ru + +cd ../htdocs/phdru.name && \ + +ssh -4 phdppru@phdru.name 'cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' && \ +distribute -d public_html && \ +ssh -4 phdppru@phdru.name "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html" && \ + +ssh -4 iskra-aviel.phdru.name sitecopy -u fatal.ru by.ru && \ +cd "$HOME" && rsync -4avPz iskra-aviel.phdru.name:.sitecopy . && \ +exec distribute .sitecopy