]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
phd.pp.ru is now hosted at SpaceWeb.ru.
[phdru.name/phdru.name.git] / update-all
index 4423f10667e4eea767b034430c225ef56ac02dd0..614d1a48fffd7481dc04c37bb100d69bf7c5f4f5 100755 (executable)
@@ -1,2 +1,6 @@
 #! /bin/sh
-cd ../htdocs && exec distribute -d phd.pp.ru
+
+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"