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

Annotation of openbsd/update_openbsd/upload_release, Revision 1.8

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.1       andrew     14: RELEASEDIR=/usr/release
                     15:
1.7       andrew     16: ls $RELEASEDIR | grep -v '^site' > $RELEASEDIR/index.txt
1.6       andrew     17: rsync -avP $RELEASEDIR/ \
1.7       andrew     18:        --files-from ${RELEASEDIR}/index.txt \
1.6       andrew     19:        us.holligan.net:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/
                     20:
1.5       andrew     21: ls $RELEASEDIR > $RELEASEDIR/index.txt
1.4       andrew     22: rsync -avP $RELEASEDIR/ \
1.7       andrew     23:        --files-from ${RELEASEDIR}/index.txt \
1.8     ! andrew     24:        rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/

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