From bd9c27140d12360399c7a3cb226904a8d69e678a Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 4 Apr 2014 22:27:30 -0400 Subject: [PATCH] Updated the update script to try and hack together a fix for the submodule fun --- update | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update b/update index f1c89fc..9b8f01f 100755 --- a/update +++ b/update @@ -5,6 +5,10 @@ cd "${0%/*}" git pull origin git submodule update --init --recursive +if [ $(cat .git/modules/vim/bundle/vim-coloresque/HEAD | grep -c 0c21b1469993e610600e88e734ffe90b9c10a514) = 1 ]; then + git checkout -- vim/bundle/vim-coloresque + git rm --cached vim/bundle/vim-coloresque +fi [[ -f .gitmodules ]] && for each in vim/bundle/*; do if [ -d "$each" ]; then