From d6507ad9c6de60f9e14c7c448d3a909151b92542 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 25 Mar 2013 15:21:13 +0100 Subject: [PATCH] setup.sh: Use test instead of [. --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 53fc267..6a980a3 100755 --- a/setup.sh +++ b/setup.sh @@ -51,10 +51,10 @@ if installed X; then sed 's/^#/!/' Xdefaults > Xdefaults.tmp mv Xdefaults.tmp Xdefaults - if [ x`os` != xdarwin ]; then + if test ! "x`os`" = xdarwin; then link xinitrc ~/.xinitrc fi - if [ -f xinitrc.local ]; then + if test -f xinitrc.local; then link xinitrc.local ~/.xinitrc.local fi link xmodmaprc ~/.xmodmaprc -- 2.44.1