replicate.sh: Use SSH again

This commit is contained in:
Salt 2018-07-14 14:59:08 -05:00
parent 422d0f2994
commit 60f54f5201

View File

@ -1,7 +1,7 @@
#!/bin/sh
tempfolder="/tmp/dots`uuidgen`"
gitdir="$HOME/.dotfiles"
git clone --recursive --separate-git-dir="$gitdir" https://github.com/rehashedsalt/home.git $tempfolder
git clone --recursive --separate-git-dir="$gitdir" git@github.com:rehashedsalt/home.git $tempfolder
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
rm -r $tempfolder
git submodule update --init --recursive --remote --git-dir="$gitdir" --work-tree="$HOME" $HOME/