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

version 1.7, 2010/04/21 23:21:22 version 1.11, 2015/10/12 00:35:14
Line 3 
Line 3 
 RSYNC=`which rsync`  RSYNC=`which rsync`
   
 if [ $? != 0 ]; then  if [ $? != 0 ]; then
         sudo pkg_add -i rsync          doas pkg_add -i rsync
         RSYNC=`which rsync`          RSYNC=`which rsync`
         if [ $? != 0 ]; then          if [ $? != 0 ]; then
                 echo RSYNC not installed!                  echo RSYNC not installed!
Line 11 
Line 11 
         fi          fi
 fi  fi
   
 RELEASEDIR=/usr/release  . /etc/release.conf
   RELEASEDIR=$RELEASE
   
 ls $RELEASEDIR | grep -v '^site' > $RELEASEDIR/index.txt  ls $RELEASEDIR | grep -v '^site' > $RELEASEDIR/index.txt
 rsync -avP $RELEASEDIR/ \  rsync -avP $RELEASEDIR/ \
         --files-from ${RELEASEDIR}/index.txt \          --files-from ${RELEASEDIR}/index.txt \
         us.holligan.net:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/          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  ls $RELEASEDIR > $RELEASEDIR/index.txt
 rsync -avP $RELEASEDIR/ \  rsync -avP $RELEASEDIR/ \
         --files-from ${RELEASEDIR}/index.txt \          --files-from ${RELEASEDIR}/index.txt \
         rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/          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.7  
changed lines
  Added in v.1.11

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