Tweaked the update script to properly handle changing git submodule

source URLs and removed "successfully" from the line saying the update
script completed since it never actually tests to see if it was
successful.
This commit is contained in:
Kevin 2014-05-05 11:02:40 -04:00
parent 46eac5876e
commit 5086483c0b

3
update
View file

@ -17,6 +17,7 @@ fi
echo "Updating darkcloud-vimconfig..." echo "Updating darkcloud-vimconfig..."
git pull origin git pull origin
git submodule sync
echo -e "\nUpdating plugin submodules..." echo -e "\nUpdating plugin submodules..."
git submodule update --init --recursive git submodule update --init --recursive
@ -58,5 +59,5 @@ echo "Generating updated helpdocs for installed plugins..."
[[ `type -P vim` ]] && vim -c "Helptags|qa!" &>/dev/null 2>&1 [[ `type -P vim` ]] && vim -c "Helptags|qa!" &>/dev/null 2>&1
echo echo
echo "Successfully completed!" echo "Update Complete!"
exit 0 exit 0