Refactor some stuff.
This commit is contained in:
22
setup.sh
22
setup.sh
@@ -1,14 +1,5 @@
|
||||
#!/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
|
||||
|
||||
#!/usr/bin/env bash
|
||||
cd `dirname $BASH_SOURCE` && source bootstrapping.sh
|
||||
case `uname` in
|
||||
'Darwin')
|
||||
source resources/osx.sh
|
||||
@@ -19,13 +10,4 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
function install_python_packages() {
|
||||
sudo -v
|
||||
source ~/.path
|
||||
easy_install pip
|
||||
pip install -r requirements.txt
|
||||
}
|
||||
|
||||
|
||||
echo "Installing Dot Files."
|
||||
source bootstrap.sh
|
||||
|
||||
Reference in New Issue
Block a user