Return to upload_release CVS log | Up to [local] / openbsd / update_openbsd |
File: [local] / openbsd / update_openbsd / upload_release (download)
Revision 1.5, Thu Feb 25 16:24:00 2010 UTC (14 years, 4 months ago) by andrew
regen the index.txt before uploading |
#!/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 ls $RELEASEDIR > $RELEASEDIR/index.txt rsync -avP $RELEASEDIR/ \ us.holligan.net:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/