=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- openbsd/update_openbsd/update_openbsd 2012/12/08 19:52:08 1.39 +++ openbsd/update_openbsd/update_openbsd 2012/12/08 19:54:08 1.40 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.38 2012/04/19 04:03:47 andrew Exp $ +# $AFresh1: update_openbsd,v 1.39 2012/12/08 19:52:08 andrew Exp $ installed_sets() { local misc=/usr/share/doc/README @@ -216,10 +216,9 @@ local _type for _type in $CHECKSUM_TYPES; do - if [ ! -e $_type ]; then - echo $FTP_CMD ${FTP}/$_type - $FTP_CMD ${FTP}/$_type - fi + [ -e $_type ] && break + echo $FTP_CMD ${FTP}/$_type + $FTP_CMD ${FTP}/$_type done }