From 961b6536d582cde4625579b78abaa796c71db7e6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 6 Mar 2009 16:00:49 +0100 Subject: [PATCH] Initial import. Add setup.sh script and environment.plist for Mac OS X. --- darwin/environment.plist | 1 + setup.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 darwin/environment.plist create mode 100755 setup.sh diff --git a/darwin/environment.plist b/darwin/environment.plist new file mode 100644 index 0000000..6c87ec5 --- /dev/null +++ b/darwin/environment.plist @@ -0,0 +1 @@ +{ PATH = "/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin"; } diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..7734624 --- /dev/null +++ b/setup.sh @@ -0,0 +1,11 @@ +# Setup script for OS related configuration files. + + +. ../lib.sh + +# Link setup. +if [ `os` = darwin ]; then + # Sets a custom PATH for GUI applications. + mkdir -p ~/.MacOSX + link darwin/environment.plist ~/.MacOSX/environment.plist +fi -- 2.45.2