fix(install.sh): local outside function — replace with plain assignment
This commit is contained in:
+1
-1
@@ -1416,7 +1416,7 @@ if $UPDATE_ONLY; then
|
|||||||
VENV_PY="$PIPX_VENV/bin/python"
|
VENV_PY="$PIPX_VENV/bin/python"
|
||||||
|
|
||||||
# Ziel-Pfad ermitteln (gleiche Logik wie deploy_plugin)
|
# Ziel-Pfad ermitteln (gleiche Logik wie deploy_plugin)
|
||||||
local _update_core_path
|
_update_core_path=""
|
||||||
if _update_core_path="$(find_core_plugin_path "$PIPX_VENV" 2>/dev/null)" && [ -n "$_update_core_path" ]; then
|
if _update_core_path="$(find_core_plugin_path "$PIPX_VENV" 2>/dev/null)" && [ -n "$_update_core_path" ]; then
|
||||||
_update_dst="$_update_core_path/rocketchat"
|
_update_dst="$_update_core_path/rocketchat"
|
||||||
elif [ "$PIPX_VENV" = "$HOME/.hermes/hermes-agent/venv" ]; then
|
elif [ "$PIPX_VENV" = "$HOME/.hermes/hermes-agent/venv" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user