version 1.10, 2008/11/05 17:07:58 |
version 1.11, 2008/11/09 07:22:52 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: update_openbsd,v 1.9 2008/10/31 01:36:33 andrew Exp $ |
# $RedRiver: update_openbsd,v 1.10 2008/11/05 17:07:58 andrew Exp $ |
|
|
if [ -e /etc/update_openbsd.conf ]; then |
if [ -e /etc/update_openbsd.conf ]; then |
. /etc/update_openbsd.conf |
. /etc/update_openbsd.conf |
|
|
$FTP_CMD ${FTP}/MD5 |
$FTP_CMD ${FTP}/MD5 |
fi |
fi |
|
|
ls bsd* *.tgz > index |
ls bsd* *.tgz | sed -e 's/\(.*\)/(\1)/' > index |
grep -f index MD5 | md5 -c |
grep -f index MD5 | md5 -c |
|
|
if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |