From: Oleg Broytman Date: Tue, 8 Feb 2011 13:00:10 +0000 (+0000) Subject: Update public_html to avoid removing log files. X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=05d071aba09458c995f311824f9e6d2e8a00999e;p=phdru.name%2Fphdru.name.git 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 --- 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