X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=update-all;h=614d1a48fffd7481dc04c37bb100d69bf7c5f4f5;hb=18437f3921525750648f80ccb7befc8fb260a33f;hp=4423f10667e4eea767b034430c225ef56ac02dd0;hpb=22536b316af1325339bbe0f643dc573c4a227d33;p=phdru.name%2Fphdru.name.git diff --git a/update-all b/update-all index 4423f10..614d1a4 100755 --- a/update-all +++ b/update-all @@ -1,2 +1,6 @@ #! /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/ && \ +exec ssh phdppru@phd.pp.ru "cd tmp && exec mv .htaccess awstats cgi-bin ../public_html"