sbin/sync_blinkster
changeset 7 92ccb522e945
parent 0 0d40e90630ef
child 30 239f9bcae806
equal deleted inserted replaced
6:d5ca566fe8e1 7:92ccb522e945
     2 set -e
     2 set -e
     3 if [ -d ~/tmp/blinkster_V$1 ]; then
     3 if [ -d ~/tmp/blinkster_V$1 ]; then
     4     rm -fr ~/tmp/blinkster_V$1;
     4     rm -fr ~/tmp/blinkster_V$1;
     5 fi
     5 fi
     6 
     6 
     7 svn export file:///iridata/svn/blinkster/tags/V$1/web ~/tmp/blinkster_V$1
     7 hg archive -r V$1 ~/tmp/blinkster_V$1
     8 
     8 
     9 #text2unix ~/tmp/blinkster_V$1
     9 #text2unix ~/tmp/blinkster_V$1
    10 
    10 
    11 if [ -d ~/tmp/blinkster_V$1 ]; then
    11 if [ -d ~/tmp/blinkster_V$1 ]; then
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/blinkster_V$1/ web.iri.centrepompidou.fr:/iridata/www/web/blinkster/
    12     cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/blinkster_V$1/web/ web.iri.centrepompidou.fr:/iridata/www/web/blinkster/
       
    13 + core
    13 P .htpasswd
    14 P .htpasswd
    14 P .htaccess
    15 P .htaccess
    15 P blinkster/.htaccess
    16 P blinkster/.htaccess
    16 P blinkster/config.py
    17 P blinkster/config.py
    17 P robots.txt
    18 P robots.txt