summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-29 22:44:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-29 22:44:43 +0000
commit3ec69ee240eca56116440c95e111d215605a8f30 (patch)
treeab7ebc03cac200fbf0ac0fb29ba3a99f44107eb6 /distrib
parent9f62fa7730582e7428cae822b1ba3f60f4bb93a1 (diff)
in [ ] or [[ ]] use -z instead of ! -n since it is shorter
Diffstat (limited to 'distrib')
-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 eca16d52623..48efa16617d 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.497 2009/04/29 22:43:46 deraadt Exp $
+# $OpenBSD: install.sub,v 1.498 2009/04/29 22:44:42 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1785,7 +1785,7 @@ THESETS="bsd bsd.rd bsd.mp $MDSETS"
for _set in base etc misc comp man game xbase xetc xshare xfont xserv site ; do
[[ $MODE == upgrade && ( $_set == etc || $_set == xetc ) ]] && continue
THESETS="$THESETS ${_set}${VERSION}.tgz"
- if [[ ! -n $DISPLAY ]]; then
+ if [[ -z $DISPLAY ]]; then
# If we have no displays, skip the X sets
isin $_set xbase xetc xshare xfont xserv site && continue
fi