Changeset 399 in MondoRescue for branches/stable/tools/livwww


Ignore:
Timestamp:
Feb 17, 2006, 1:54:07 PM (14 years ago)
Author:
bcornec
Message:
  • man pages reviewed
  • pdf, ps, txt and html generated from man pages and published on the Web
  • Bob is in the thanks page for 2nd DNS server
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/livwww

    r386 r399  
    99#
    1010DESTDIR=/var/www/html/mondo
    11 DESTMACH=www1.mondorescue.org
    1211DESTUSER=apache
    1312MONDODIR=/mondo/www/html/mondo
    1413TESTDIR=/mondo/www/html/test
    1514
     15/sbin/ifconfig | grep -q 10.3.3 2>&1 > /dev/null
     16if [ $? = 0 ]; then
     17    DESTMACH=mondo.hpintelco.org
     18else
     19    DESTMACH=www1.mondorescue.org
     20fi
    1621
    1722dname=`dirname $0`
     
    2732rm -rf $DESTDIR
    2833cp -a ${BASE}/svn/${VER}/website $DESTDIR
     34(cd ${BASE}/svn/${VER}/documentation ; make)
     35mkdir -p $DESTDIR/docs
    2936cp -a ${BASE}/svn/${VER}/documentation/* $DESTDIR/docs
    3037find $DESTDIR -type d | xargs chmod 755
     
    4350ssh ${DESTUSER}@${DESTMACH} "rm -rf ${DESTDIR} ; mkdir ${DESTDIR}"
    4451scp /tmp/mondo-www.tz2 ${DESTUSER}@${DESTMACH}:/tmp
     52rm -f /tmp/mondo-www.tz2
    4553ssh ${DESTUSER}@${DESTMACH} "cd ${DESTDIR} ; tar xfj /tmp/mondo-www.tz2"
Note: See TracChangeset for help on using the changeset viewer.