Bootstrap: Fix requiring valid SSH keys to clone repository
It seemed like a good idea at the time, but it was completely untested up until recently
This commit is contained in:
parent
a62565336a
commit
163e8568a3
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
tempfolder="/tmp/dots$(uuidgen)"
|
tempfolder="/tmp/dots$(uuidgen)"
|
||||||
git clone --recursive --separate-git-dir="$HOME/.dotfiles" git@github.com:rehashedsalt/home.git $tempfolder
|
git clone --recursive --separate-git-dir="$HOME/.dotfiles" https://github.com/rehashedsalt/home.git $tempfolder
|
||||||
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
|
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
|
||||||
rm -r $tempfolder
|
rm -r $tempfolder
|
||||||
git submodule update --init --recursive --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/
|
git submodule update --init --recursive --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/
|
||||||
|
Loading…
Reference in New Issue
Block a user