fix: onupdate show plugins with #branch/#tag
This commit is contained in:
parent
05ad8de77b
commit
4a798d85e1
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ plugin_path_helper() {
|
|||
|
||||
plugin_already_installed() {
|
||||
local plugin="$1"
|
||||
local plugin_path="$(plugin_path_helper "$plugin")"
|
||||
IFS='#' read -ra plugin <<< "$plugin"
|
||||
local plugin_path="$(plugin_path_helper "${plugin[0]}")"
|
||||
[ -d "$plugin_path" ] &&
|
||||
cd "$plugin_path" &&
|
||||
git remote >/dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue