From: Oleg Broytman Date: Sun, 21 Oct 2012 17:39:02 +0000 (+0000) Subject: I stopped using fatal.ru as a mirror X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=46df294ccb1fbc72710ad58e2a4c4b3d185fa71a;p=phdru.name%2Fphdru.name.git I stopped using fatal.ru as a mirror git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@135 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/update-all b/update-all index 49441cd..ed64a5f 100755 --- a/update-all +++ b/update-all @@ -2,10 +2,10 @@ cd ../htdocs/phdru.name && -ssh -4 phdppru@phdru.name 'cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' && +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 && -cd "$HOME" && rsync -aPz4 iskra-aviel.phdru.name:.sitecopy . && -exec distribute .sitecopy +exec ssh -4 phdppru@phdru.name ' + cd tmp && exec mv .htaccess awstats cgi-bin ../public_html'