소스 검색

Prompt for git updates

Andrew Swistak 11 년 전
부모
커밋
405d81f369
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      scripts/install_dotfiles.sh

+ 4 - 2
scripts/install_dotfiles.sh

@@ -73,8 +73,10 @@ done
 ln -fsn "$DIR"/vim/pathogen/autoload "$DIR"/vim/
 mkdir -p "$DIR"/vim/tmp/{backup,swap,undo}
 
-git submodule update --init --recursive
-git submodule foreach --recursive git pull origin master
+if prompt "Update git submodules?" N ; then
+  git submodule update --init --recursive
+  git submodule foreach --recursive git pull origin master
+fi
 
 #Very specific to Arch
 if prompt "Install boost and airline glyphs?" N; then