summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2014-04-20 10:52:00 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2014-04-20 10:52:00 +0000
commitf70a1de14804c38ca0adcf3bd91e1c59b6cb365c (patch)
tree1d025c260df1b199890b0f243ae5169b4e8c6fd7 /distrib/miniroot
parent43656812352e642e9901f2a83843c85da3caf9d2 (diff)
Simplify shell pattern.
OK krw@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 76034cdb6f4..968bd847c44 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.761 2014/04/19 18:31:24 rpe Exp $
+# $OpenBSD: install.sub,v 1.762 2014/04/20 10:51:59 rpe Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
# All rights reserved.
@@ -2067,7 +2067,7 @@ md_consoleinfo
THESETS="bsd bsd.rd bsd.mp $MDSETS"
: ${DEFAULTSETS:="bsd bsd.rd"}
for _set in base etc comp man game xbase xetc xshare xfont xserv site; do
- [[ $MODE == upgrade && ( $_set == etc || $_set == xetc ) ]] && continue
+ [[ $MODE == upgrade && $_set == @(etc|xetc) ]] && continue
THESETS="$THESETS ${_set}${VERSION}.tgz"
isin $_set site && continue
DEFAULTSETS="$DEFAULTSETS ${_set}${VERSION}.tgz"