mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -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 pull origin
|
||||||
git submodule update --init --recursive
|
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
|
[[ -f .gitmodules ]] && for each in vim/bundle/*; do
|
||||||
if [ -d "$each" ]; then
|
if [ -d "$each" ]; then
|
||||||
|
|
Loading…
Reference in a new issue