head	1.6;
access;
symbols;
locks; strict;
comment	@# @;


1.6
date	2002.04.20.22.20.37;	author curt;	state Exp;
branches;
next	1.5;

1.5
date	2001.12.17.16.56.10;	author curt;	state Exp;
branches;
next	1.4;

1.4
date	2001.10.11.19.30.54;	author curt;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.19.00.30.15;	author curt;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.15.18.06.19;	author curt;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.05.18.56.35;	author curt;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Stamp html file before mirroring web site.
@
text
@#!/bin/sh

FQDN=`hostname -f`

if [ "x$FQDN" != "xhelio.me.umn.edu" ]; then
    echo "$0 must be run on helio.me.umn.edu"
    exit
fi

BASEDIR=$HOME/projects/SimGear-0.0

# Update the file last changed time stamps
$BASEDIR/admin/stampwrapper.sh 

SOURCE=~/projects/SimGear-0.0/www/*

# Master simgear server www
DEST=curt@@seneca.flightgear.org:/var/www/simgear

# Backup simgear server www
DEST=curt@@baron.flightgear.org:/var/www/simgear

# MEnet
DEST=curt@@crunch.me.umn.edu:public-html/simgear

# SourceForge
DEST=curt@@shell.sourceforge.net:/home/groups/s/si/simgear/htdocs

for DEST in \
    curt@@seneca.flightgear.org:/var/www/simgear \
    curt@@baron.flightgear.org:/var/www/simgear \
    curt@@crunch.me.umn.edu:public-html/simgear \
    curt@@shell.sourceforge.net:/home/groups/s/si/simgear/htdocs \
    ; do

    echo mirroring from $SOURCE to $DEST

    rsync --verbose --archive --delete --cvs-exclude \
            --rsh ssh \
            --exclude fgfs.css \
            $SOURCE $DEST 2>&1
done
@


1.5
log
@Updates to reflect recent admin/server organizational changes.
@
text
@d10 5
@


1.4
log
@admin tweaks.
@
text
@d12 5
a16 2
# Master server www
DEST=curt@@seneca.me.umn.edu:/var/www/simgear
d25 2
a26 1
    curt@@seneca.me.umn.edu:/var/www/simgear \
@


1.3
log
@Updated.
@
text
@d3 1
a3 1
DOMAIN=`hostname -d`
d5 2
a6 2
if [ "x$DOMAIN" != "xhfrl.umn.edu" ]; then
    echo "$0 must be run on an hfrl.umn.edu computer"
d12 3
a15 1

a17 7
echo mirroring from $SOURCE to $DEST

rsync --verbose --archive --delete \
        --rsh ssh \
        --exclude fgfs.css \
        $SOURCE $DEST 2>&1

a18 1

d21 13
a33 16
echo mirroring from $SOURCE to $DEST

rsync --verbose --archive --delete \
        --rsh ssh \
        $SOURCE $DEST 2>&1

# Woodsoup

# DEST=transient.woodsoup.org:www_simgear

# echo mirroring from $SOURCE to $DEST

# rsync --verbose --archive --delete \
#         --rsh ssh \
#         $SOURCE $DEST 2>&1

@


1.2
log
@Only allowed to run in hfrl.umn.edu domain.
@
text
@d12 12
a23 1
# Woodsoup
d25 1
a25 1
DEST=transient.woodsoup.org:www_simgear
d32 10
@


1.1
log
@Initial revision.
@
text
@d3 7
@

