install script updates

* fix logging and spacing issues
* update to use bash instead of zsh
This commit is contained in:
Nick Nisi
2016-03-29 14:57:34 -07:00
parent 342c4bcf20
commit 9e841588b6
6 changed files with 20 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
echo "Installing dotfiles"
@@ -8,18 +8,14 @@ git submodule update --init --recursive
source install/link.sh
if [ "$(uname)" == "Darwin" ]; then
echo "Running on OSX"
echo -e "\n\nRunning on OSX"
echo "Brewing all the things"
source install/brew.sh
echo "Updating OSX settings"
source install/osx.sh
echo "Installing node (from nvm)"
source install/nvm.sh
echo "Configuring nginx"
# create a backup of the original nginx.conf
mv /usr/local/etc/nginx/nginx.conf /usr/local/etc/nginx/nginx.original
ln -s ~/.dotfiles/nginx/nginx.conf /usr/local/etc/nginx/nginx.conf