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

Annotation of openbsd/update_openbsd/upload_release, Revision 1.6

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.6     ! andrew     16: ls $RELEASEDIR | grep -v ^site > $RELEASEDIR/index.txt
        !            17: rsync -avP $RELEASEDIR/ \
        !            18:        us.holligan.net:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/
        !            19:
1.5       andrew     20: ls $RELEASEDIR > $RELEASEDIR/index.txt
1.4       andrew     21: rsync -avP $RELEASEDIR/ \
1.6     ! andrew     22:        rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/

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