X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/8cb8a24ddae604c365cf3e9cb59436b9da6c32db..a0eefcc876211fcbf11c858b9250b859dc0da95a:/bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh index 82ec93c..9dec82f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,8 +2,14 @@ # You can scp just this file to the destination host, # and then run it. +if [ ! -f ~/.ssh/id_rsa ]; then + ssh-keygen +fi + if [ ! -d ~/dotfiles ]; then cd ~; git clone git@github.com:edthedev/dotfiles.git + cp ~/dotfiles/id_rsa.pub ~/id_rsa.pub + chmod go+r ~/id_rsa.pub fi if [ ! -f ~/.zshrc ]; then