replicate.sh: Add --remote flag to submodule update

No clue if that's actually necessary but whatever
This commit is contained in:
Salt 2018-02-08 01:05:50 -06:00
parent 16d2235107
commit bd9cbfefcf

View File

@ -3,4 +3,4 @@ tempfolder="/tmp/dots$(uuidgen)"
git clone --recursive --separate-git-dir="$HOME/.dotfiles" https://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 --remote --git-dir="$HOME/.dotfiles" --work-tree="$HOME" $HOME/