]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - update-all
Add scripts to find html files with or w/o templates
[phdru.name/phdru.name.git] / update-all
index ed64a5ffc561ad31734c33cf70f7148d2deef65c..5a782af31910aaf5f7667d69d305c2b4a91e6be1 100755 (executable)
@@ -1,11 +1,4 @@
 #! /bin/sh
 
-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'
+cd "`dirname \"$0\"`"/.. && distribute -aD phdru.name
+cd htdocs && exec distribute -aD phdru.name