]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Don't install xinitrc on Mac OS X.
authorSimon Ruderich <simon@ruderich.org>
Fri, 1 May 2009 20:30:29 +0000 (22:30 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 1 May 2009 20:30:29 +0000 (22:30 +0200)
I don't use stumpwm there.

setup.sh

index 3c3e73c885ab8e19964da793eb9b9972f99591a7..7ace8e0d20ab164b95be773f1bf567566454d90a 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -18,7 +18,9 @@ if installed X; then
     sed 's/^#/!/' Xdefaults > Xdefaults.tmp
     mv Xdefaults.tmp Xdefaults
 
-    link xinitrc ~/.xinitrc
+    if [ `os` != darwin ]; then
+        link xinitrc ~/.xinitrc
+    fi
     link xmodmaprc ~/.xmodmaprc
     link Xdefaults ~/.Xdefaults
 fi