]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Directory public_html was added.
[phdru.name/phdru.name.git] / update-all
index 4423f10667e4eea767b034430c225ef56ac02dd0..31b39d5195ebe675e38150ff398de788b2763b7b 100755 (executable)
@@ -1,2 +1,11 @@
 #! /bin/sh
-cd ../htdocs && exec distribute -d phd.pp.ru
+
+cd ../htdocs && \
+
+ssh -4 phdppru@phdru.name 'cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' && \
+distribute -r public_html/ -d phdru.name/ && \
+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 . && \
+exec distribute .sitecopy