fix(install.sh): local outside function — replace with plain assignment

This commit is contained in:
Bernd (Hermes)
2026-07-24 12:37:45 +02:00
parent b40b221896
commit 18d87d8604
+1 -1
View File
@@ -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