From bce48094044964e5c8e7fa1097243937d641a757 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 2 Jul 2010 12:34:43 +0000 Subject: [PATCH] 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 --- update-ALL | 5 ----- update-all | 7 ++++++- 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100755 update-ALL 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 -- 2.39.5