=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.119 retrieving revision 1.120 diff -u -r1.119 -r1.120 --- openbsd/update_openbsd/update_openbsd 2018/12/16 23:42:07 1.119 +++ openbsd/update_openbsd/update_openbsd 2019/03/02 00:34:34 1.120 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: update_openbsd,v 1.118 2018/12/16 21:10:00 andrew Exp $ +# $AFresh1: update_openbsd,v 1.119 2018/12/16 23:42:07 andrew Exp $ # # Copyright (c) 2012 Andrew Fresh # @@ -172,7 +172,7 @@ if [ X"" != X"${MIRROR}" -a X"" == X"${_v}" ]; then if [ X"No" != X"${FORCE_DIR}" ]; then _dir=${FORCE_DIR} - elif sysctl kern.version | grep -q -- '-current '; then + elif sysctl kern.version | grep -q -e '-current ' -e '-beta '; then _dir=snapshots FORCE_DIR=snapshots else