=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.61 retrieving revision 1.64 diff -u -r1.61 -r1.64 --- openbsd/update_openbsd/update_openbsd 2014/01/23 02:30:02 1.61 +++ openbsd/update_openbsd/update_openbsd 2014/02/01 16:31:51 1.64 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.60 2014/01/22 19:35:46 andrew Exp $ +# $AFresh1: update_openbsd,v 1.63 2014/01/23 03:17:06 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -18,7 +18,7 @@ installed_sets() { local misc=/usr/share/doc/README - local man=/usr/share/man/cat1/intro.0 + local man=/usr/share/man/man1/intro.1 local comp=/usr/bin/cc local game=/usr/games/ local xbase=/usr/X11R6/ @@ -157,7 +157,11 @@ fi if [ X"" == X"${_v}" ]; then - echo ERROR: Unable to determine file version! >&2 + if [ X"" == X"${MIRROR}" ]; then + echo ERROR: No sets, and no MIRROR, unable to continue. >&2 + else + echo ERROR: Unable to determine FILE_VER, check your MIRROR. >&2 + fi return 1 fi @@ -337,7 +341,7 @@ for _type in $CHECKSUM_TYPES; do if [ -e $_type ]; then check_sum $_type && break - [ -z "$IGNORE_CHECKSUM_ERROR" ] || exit 1 + [ -z "$IGNORE_CHECKSUM_ERROR" ] && exit 1 fi done