sbin/sync/sync_ldt_platform
changeset 31 2eed941e2ca1
parent 21 a39204d50541
child 45 f214cc7853d1
child 54 24397932219d
equal deleted inserted replaced
30:81d408373dde 31:2eed941e2ca1
     7 hg archive -r V$1 ~/tmp/eulalie_V$1
     7 hg archive -r V$1 ~/tmp/eulalie_V$1
     8 
     8 
     9 #text2unix ~/tmp/eulalie_V$1
     9 #text2unix ~/tmp/eulalie_V$1
    10 
    10 
    11 if [ -d ~/tmp/eulalie_V$1 ]; then
    11 if [ -d ~/tmp/eulalie_V$1 ]; then
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/eulalie_V$1/web/ web.iri.centrepompidou.fr:/iridata/www/web/eulalie/
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/eulalie_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/web/eulalie/
    13 + core
    13 + core
    14 P .htpasswd
    14 P .htpasswd
    15 P .htaccess
    15 P .htaccess
    16 P eulalie/.htaccess
    16 P eulalie/.htaccess
    17 P eulalie/config.py
    17 P eulalie/config.py
    25 
    25 
    26 if [ -d ~/tmp/eulalie_V$1 ]; then
    26 if [ -d ~/tmp/eulalie_V$1 ]; then
    27     echo "Deleting temp export"
    27     echo "Deleting temp export"
    28     rm -fr ~/tmp/eulalie_V$1;
    28     rm -fr ~/tmp/eulalie_V$1;
    29 fi
    29 fi
    30 
       
    31 ssh web.iri.centrepompidou.fr sudo apache2ctl restart