]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Remove duplicate tests
[phdru.name/phdru.name.git] / update-all
index 4423f10667e4eea767b034430c225ef56ac02dd0..ed64a5ffc561ad31734c33cf70f7148d2deef65c 100755 (executable)
@@ -1,2 +1,11 @@
 #! /bin/sh
-cd ../htdocs && exec distribute -d phd.pp.ru
+
+cd ../htdocs/phdru.name &&
+
+ssh -4 phdppru@phdru.name '
+   cd public_html && exec mv .htaccess awstats cgi-bin "$HOME"/tmp' &&
+
+distribute -d public_html &&
+
+exec ssh -4 phdppru@phdru.name '
+   cd tmp && exec mv .htaccess awstats cgi-bin ../public_html'