an immature heuristic for "what is a release and what is a snapshot".
This change maybe improved the post-release experience, but it damages the
pre-release experience, which may result in less effective pre-release
testing, which risks creating poor releases, which may result in poor
post-release experiences.
Specific case: subtle breakage to fw_update.
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.901 2016/05/27 21:13:17 deraadt Exp $
+# $OpenBSD: install.sub,v 1.902 2016/07/23 17:55:45 deraadt Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
if [[ -n $_mirror ]]; then
PACKAGE_PATH=$(print -r -- "$_url_base" |
sed -E "/\/(snapshots|[0-9]\.[0-9])\/($ARCH)\/*$/!d
- s!!/%c/packages/%a/!;q")
+ s!!/\1/packages/$(arch -s)/!;q")
fi
}