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

Diff for /openbsd/update_openbsd/upload_release between version 1.1 and 1.10

version 1.1, 2006/11/07 17:32:10 version 1.10, 2013/01/03 03:29:10
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
   
 RELEASEDIR=/usr/release  RSYNC=`which rsync`
   
 rsync -av $RELEASEDIR/ rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/  if [ $? != 0 ]; then
           sudo pkg_add -i rsync
           RSYNC=`which rsync`
           if [ $? != 0 ]; then
                   echo RSYNC not installed!
                   exit
           fi
   fi
   
   . /etc/release.conf
   RELEASEDIR=$RELEASE
   
   ls $RELEASEDIR | grep -v '^site' > $RELEASEDIR/index.txt
   rsync -avP $RELEASEDIR/ \
           --files-from ${RELEASEDIR}/index.txt \
           us.holligan.net:/var/www/ftp/pub/OpenBSD-stable/`uname -r`/`machine`/
   
   rsync -avP /usr/ports/packages/`machine`/ftp/ \
           us.holligan.net:/var/www/ftp/pub/OpenBSD-stable/`uname -r`/packages/`machine`/
   
   ls $RELEASEDIR > $RELEASEDIR/index.txt
   rsync -avP $RELEASEDIR/ \
           --files-from ${RELEASEDIR}/index.txt \
           rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/
   
   rsync -avP /usr/ports/packages/`machine`/all/ \
           rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/packages/`machine`/
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.10

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