--- 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
--- a/sbin/sync/sync_ldt_platform_venv Thu Jun 10 11:17:09 2010 +0200
+++ b/sbin/sync/sync_ldt_platform_venv Thu Jun 10 11:46:53 2010 +0200
@@ -1,20 +1,20 @@
#!/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/sbin/ web.iri.centrepompidou.fr:project/blinkster/sbin
+if [ -d ~/tmp/eulalie_V$1 ]; then
+ cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/eulalie_V$1/sbin/ web.iri.centrepompidou.fr:project/eulalie/sbin
+ core
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