added install script

This commit is contained in:
Nick Nisi
2012-05-04 15:40:40 -05:00
parent 87cdc880d1
commit 72e47a7ad7
2 changed files with 30 additions and 0 deletions

17
install.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
# clone the repository
git clone git@github.com:nicknisi/dotfiles.git ~/.dotfiles
# cd into directory
cd ~/.dotfiles
# initialize submodules
git submodule init
git submodule update
# backup existing configuration
rake backup
# run the install
rake install