2014-04-14 14:52:10 -06:00
|
|
|
#!/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')
|
2014-04-14 14:52:10 -06:00
|
|
|
source resources/osx.sh
|
|
|
|
source resources/brew.sh
|
|
|
|
;;
|
2013-03-31 19:31:41 -06:00
|
|
|
'Linux')
|
2014-04-14 14:52:10 -06:00
|
|
|
source resources/apt-get.sh
|
2013-03-31 19:31:41 -06:00
|
|
|
;;
|
|
|
|
esac
|
2013-03-18 10:56:29 -06:00
|
|
|
|
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
|
|
|
|
2013-03-18 10:56:29 -06:00
|
|
|
echo "Installing Dot Files."
|
|
|
|
source bootstrap.sh
|