mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-24 23:41:26 -05:00
Updated the update script to try and hack together a fix for the
submodule fun
This commit is contained in:
parent
a388b05ce7
commit
bd9c27140d
1 changed files with 4 additions and 0 deletions
4
update
4
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
|
||||
|
|
Loading…
Reference in a new issue