1
0
Fork 0
mirror of synced 2024-06-17 22:41:09 -04:00

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

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