update_plugin script

This commit is contained in:
Bruno Sutic
2014-08-05 19:02:42 +02:00
parent 3a5f56f10d
commit 3af756d836
4 changed files with 99 additions and 34 deletions

View File

@ -26,14 +26,6 @@ clone_plugin() {
clone "https://github.com/$plugin"
}
pull_changes() {
local plugin=$1
local plugin_path=$(shared_plugin_path "$plugin")
cd $plugin_path &&
git pull &&
git submodule update --init --recursive
}
# pull new changes or clone plugin
install_plugin() {
local plugin=$1