]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Run poit.py at home.
[phdru.name/phdru.name.git] / update-all
index 31b39d5195ebe675e38150ff398de788b2763b7b..0320214e716e75fc847920829fd1b89a7b2f8ce1 100755 (executable)
@@ -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