From c6e3f3ec48d875cb7dfa564c64cde453ed24b0be Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Fri, 20 Jul 2018 11:06:00 +0200 Subject: [PATCH] --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 6524301..c7bde9b 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -10,7 +10,7 @@ TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX) git clone --separate-git-dir="$HOME/.cfg" https://github.com/schtobia/dotfiles.git "$TMPDIR" [ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME" git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no -(cd $HOME && git --git-dir="$HOME/.cfg/" --work-tree="$HOME" checkout -- .) +(cd $HOME && git --git-dir="$HOME/.cfg/" --work-tree="$HOME" checkout -- . && git --git-dir="$HOME/.cfg/" --work-tree="$HOME" submodule update --init --remote --recursive --rebase) rm -r $TMPDIR # node related