=================================================================== RCS file: /cvs/openbsd/update_openbsd/upload_release,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- openbsd/update_openbsd/upload_release 2006/11/29 16:45:33 1.2 +++ openbsd/update_openbsd/upload_release 2008/11/03 18:45:53 1.3 @@ -1,5 +1,16 @@ #!/bin/sh +RSYNC=`which rsync` + +if [ $? != 0 ]; then + sudo pkg_add -i rsync + RSYNC=`which rsync` + if [ $? != 0 ]; then + echo RSYNC not installed! + exit + fi +fi + RELEASEDIR=/usr/release rsync -avP $RELEASEDIR/ rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/