From: Simon Ruderich Date: Mon, 25 Mar 2013 14:21:13 +0000 (+0100) Subject: setup.sh: Use test instead of [. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=d6507ad9c6de60f9e14c7c448d3a909151b92542;p=config%2Fdotfiles.git setup.sh: Use test instead of [. --- 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