sbin/sync/sync_ldt_platform
changeset 11 3903840d6720
parent 0 ecdfc63274bf
child 21 a39204d50541
--- a/sbin/sync/sync_ldt_platform	Thu Jun 10 11:17:09 2010 +0200
+++ b/sbin/sync/sync_ldt_platform	Thu Jun 10 11:46:53 2010 +0200
@@ -1,15 +1,15 @@
 #!/usr/bin/env bash
 set -e
-if [ -d ~/tmp/blinkster_V$1 ]; then
-    rm -fr ~/tmp/blinkster_V$1;
+if [ -d ~/tmp/eulalie_V$1 ]; then
+    rm -fr ~/tmp/eulalie_V$1;
 fi
 
-hg archive -r V$1 ~/tmp/blinkster_V$1
+hg archive -r V$1 ~/tmp/eulalie_V$1
 
-#text2unix ~/tmp/blinkster_V$1
+#text2unix ~/tmp/eulalie_V$1
 
-if [ -d ~/tmp/blinkster_V$1 ]; then
-    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/blinkster_V$1/web/ web.iri.centrepompidou.fr:/iridata/www/web/blinkster/
+if [ -d ~/tmp/eulalie_V$1 ]; then
+    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/eulalie_V$1/web/ web.iri.centrepompidou.fr:/iridata/www/web/eulalie/
 + core
 P .htpasswd
 P .htaccess
@@ -23,9 +23,9 @@
 EOT
 fi
 
-if [ -d ~/tmp/blinkster_V$1 ]; then
+if [ -d ~/tmp/eulalie_V$1 ]; then
     echo "Deleting temp export"
-    rm -fr ~/tmp/blinkster_V$1;
+    rm -fr ~/tmp/eulalie_V$1;
 fi
 
 ssh web.iri.centrepompidou.fr sudo apache2ctl restart