=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- openbsd/update_openbsd/update_openbsd 2013/12/28 02:58:37 1.56 +++ openbsd/update_openbsd/update_openbsd 2013/12/31 18:42:31 1.57 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.55 2013/12/28 02:56:24 andrew Exp $ +# $AFresh1: update_openbsd,v 1.56 2013/12/28 02:58:37 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -265,7 +265,12 @@ return 1 fi - ls bsd* *gz | sed -e 's/\(.*\)/(\1)/' > index + local _nv=`echo $NEW_VER | sed -e 's/\.//'` + + ( + for k in $INSTALL_KERNELS; do echo "($k)" ; done + for f in $INSTALLED_SETS; do echo "($f$_nv.tgz)"; done + ) > index grep -f index $_type | sum -c if [ $? -ne 0 ]; then