From 4a798d85e1afb4b0aa3c8a40064538d589fced3b Mon Sep 17 00:00:00 2001 From: o0th Date: Wed, 7 Feb 2024 16:05:58 +0100 Subject: [PATCH] fix: onupdate show plugins with #branch/#tag --- scripts/helpers/plugin_functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index e4122b3..8d8932e 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -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