fix: onupdate show plugins with #branch/#tag

This commit is contained in:
o0th 2024-02-07 16:05:58 +01:00
parent 05ad8de77b
commit 4a798d85e1
1 changed files with 2 additions and 1 deletions

View File

@ -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