From: Oleg Broytman Date: Fri, 2 Jul 2010 12:34:43 +0000 (+0000) Subject: Moved all code to update-all. Removed update-ALL. X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=bce48094044964e5c8e7fa1097243937d641a757;p=phdru.name%2Fphdru.name.git Moved all code to update-all. Removed update-ALL. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@102 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/update-ALL b/update-ALL deleted file mode 100755 index 11acf11..0000000 --- a/update-ALL +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh - -./update-all && 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 diff --git a/update-all b/update-all index 614d1a4..67c24cd 100755 --- a/update-all +++ b/update-all @@ -1,6 +1,11 @@ #! /bin/sh 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" +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