=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- openbsd/update_openbsd/update_openbsd 2009/01/14 17:58:40 1.17 +++ openbsd/update_openbsd/update_openbsd 2009/01/14 18:13:23 1.18 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: update_openbsd,v 1.16 2009/01/13 21:47:49 andrew Exp $ +# $RedRiver: update_openbsd,v 1.17 2009/01/14 17:58:40 andrew Exp $ installed_sets() { local misc=/usr/share/doc/README @@ -200,6 +200,7 @@ echo '### CHECKING SETS ###' cd $RELEASEDIR + local _missing_sets local _v=$FILE_VER for _b in `echo /bsd* bsd bsd.mp bsd.rd | sort -u`; do @@ -210,14 +211,20 @@ fi if [ -e /${_b} -a ! -e ./${_n} ]; then echo ${_n} does not exist + _missing_sets=1 fi done for _s in $INSTALLED_SETS; do if [ ! -e ./${_s}${_v}.tgz ]; then echo ${_s}${_v}.tgz does not exist + _missing_sets=1 fi done + + if [ X"" == X"${_missing_sets}" ]; then + echo All OK + fi check_md5 }