dotfiles/setup.sh

32 lines
590 B
Bash
Raw Normal View History

#!/bin/sh
case `uname` in
'Darwin')
readlink_command='greadlink'
;;
*)
readlink_command='readlink'
esac
DOTFILES_DIRECTORY="$(dirname "${BASH_SOURCE}" | xargs ${readlink_command} -f)"
cd $DOTFILES_DIRECTORY
2013-03-17 03:33:15 -06:00
2013-03-31 19:31:41 -06:00
case `uname` in
'Darwin')
source resources/osx.sh
source resources/brew.sh
;;
2013-03-31 19:31:41 -06:00
'Linux')
source resources/apt-get.sh
2013-03-31 19:31:41 -06:00
;;
esac
2013-03-19 04:03:01 -06:00
function install_python_packages() {
sudo -v
source ~/.path
easy_install pip
pip install -r requirements.txt
}
2013-03-17 03:33:15 -06:00
echo "Installing Dot Files."
source bootstrap.sh