[BACK]Return to upload_release CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Annotation of openbsd/update_openbsd/upload_release, Revision 1.10

1.1       andrew      1: #!/bin/sh
                      2:
1.3       andrew      3: RSYNC=`which rsync`
                      4:
                      5: if [ $? != 0 ]; then
                      6:         sudo pkg_add -i rsync
                      7:         RSYNC=`which rsync`
                      8:         if [ $? != 0 ]; then
                      9:                 echo RSYNC not installed!
                     10:                 exit
                     11:         fi
                     12: fi
                     13:
1.9       andrew     14: . /etc/release.conf
                     15: RELEASEDIR=$RELEASE
1.1       andrew     16:
1.7       andrew     17: ls $RELEASEDIR | grep -v '^site' > $RELEASEDIR/index.txt
1.6       andrew     18: rsync -avP $RELEASEDIR/ \
1.7       andrew     19:        --files-from ${RELEASEDIR}/index.txt \
1.10    ! andrew     20:        us.holligan.net:/var/www/ftp/pub/OpenBSD-stable/`uname -r`/`machine`/
        !            21:
        !            22: rsync -avP /usr/ports/packages/`machine`/ftp/ \
        !            23:        us.holligan.net:/var/www/ftp/pub/OpenBSD-stable/`uname -r`/packages/`machine`/
1.6       andrew     24:
1.5       andrew     25: ls $RELEASEDIR > $RELEASEDIR/index.txt
1.4       andrew     26: rsync -avP $RELEASEDIR/ \
1.7       andrew     27:        --files-from ${RELEASEDIR}/index.txt \
1.8       andrew     28:        rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/
1.10    ! andrew     29:
        !            30: rsync -avP /usr/ports/packages/`machine`/all/ \
        !            31:        rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/packages/`machine`/
        !            32:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>