bin/bootstrap/replicate.sh
Salt bd9cbfefcf replicate.sh: Add --remote flag to submodule update
No clue if that's actually necessary but whatever
2018-02-08 01:05:50 -06:00

7 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
tempfolder="/tmp/dots$(uuidgen)"
git clone --recursive --separate-git-dir="$HOME/.dotfiles" https://github.com/rehashedsalt/home.git $tempfolder
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
rm -r $tempfolder
git submodule update --init --recursive --remote --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/