From: Oleg Broytman Date: Sat, 5 Dec 2009 13:45:15 +0000 (+0000) Subject: phd.pp.ru is now hosted at SpaceWeb.ru. X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=commitdiff_plain;h=18437f3921525750648f80ccb7befc8fb260a33f phd.pp.ru is now hosted at SpaceWeb.ru. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@93 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- 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"