Changeset 372 for trunk/tools


Ignore:
Timestamp:
Feb 11, 2006, 12:28:03 PM (13 years ago)
Author:
bcornec
Message:

merge -r363:371 $SVN_M/branches/stable

Location:
trunk/tools
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/tools/livwww

    r363 r372  
    99#
    1010DESTDIR=/var/www/html/mondo
     11DESTMACH=www1.mondorescue.org
     12DESTUSER=apache
     13MONDODIR=/mondo/www/html/mondo
    1114
    1215
     
    2326rm -rf $DESTDIR
    2427cp -a ${BASE}/svn/${VER}/website $DESTDIR
     28cp -a ${BASE}/svn/${VER}/documentation/* $DESTDIR/docs
    2529find $DESTDIR -type d | xargs chmod 755
    2630find $DESTDIR -type f | xargs chmod 644
     31if [ _"$1" == _"" ); then
     32        exit 0
     33fi
     34cd $DESTDIR
     35tar cfj /tmp/mondo-www.tz2 .
     36ssh ${DESTUSER}@${DESTMACH} "rm -rf ${MONDODIR} ; mkdir ${MONDODIR}"
     37scp /tmp/mondo-www.tz2 ${DESTUSER}@${DESTMACH}:/tmp
     38ssh ${DESTUSER}@${DESTMACH} "cd ${MONDODIR} ; tar xfj /tmp/mondo-www.tz2"
Note: See TracChangeset for help on using the changeset viewer.