[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.2 and 1.11

version 1.2, 2006/11/29 16:45:33 version 1.11, 2015/10/12 00:35:14
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
   
 RELEASEDIR=/usr/release  RSYNC=`which rsync`
   
 rsync -avP $RELEASEDIR/ rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/  if [ $? != 0 ]; then
           doas 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.2  
changed lines
  Added in v.1.11

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