Return to upload_release CVS log | Up to [local] / openbsd / update_openbsd |
version 1.1, 2006/11/07 17:32:10 | version 1.5, 2010/02/25 16:24:00 | ||
---|---|---|---|
|
|
||
#!/bin/sh | #!/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 | RELEASEDIR=/usr/release | ||
rsync -av $RELEASEDIR/ rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/ | ls $RELEASEDIR > $RELEASEDIR/index.txt | ||
rsync -avP $RELEASEDIR/ \ | |||
us.holligan.net:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/ |