From 05d071aba09458c995f311824f9e6d2e8a00999e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 8 Feb 2011 13:00:10 +0000 Subject: [PATCH] Update public_html to avoid removing log files. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@120 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- update-all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update-all b/update-all index 31b39d5..0320214 100755 --- a/update-all +++ b/update-all @@ -1,11 +1,11 @@ #! /bin/sh -cd ../htdocs && \ +cd ../htdocs/phdru.name && \ ssh -4 phdppru@phdru.name 'cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' && \ -distribute -r public_html/ -d phdru.name/ && \ +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 by.ru && \ -cd "$HOME" && rsync -avPz iskra-aviel.phdru.name:.sitecopy . && \ +cd "$HOME" && rsync -4avPz iskra-aviel.phdru.name:.sitecopy . && \ exec distribute .sitecopy -- 2.39.5