Compare commits

..

1 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
4c7b18bf14 fix(tududi): clear bash hash table after setup_nodejs in update
In some edge-case environments where Node.js was previously installed
via a non-standard method, bash's command hash table can cache a stale
npm location. Adding 'hash -r' after setup_nodejs clears the cache,
forcing bash to re-resolve npm from the current PATH.

Fixes #12920
2026-03-16 08:44:18 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ function update_script() {
fi
NODE_VERSION="22" setup_nodejs
hash -r 2>/dev/null || true
if check_for_gh_release "tududi" "chrisvel/tududi"; then
msg_info "Stopping Service"

View File

@@ -47,7 +47,7 @@ function update_script() {
msg_info "Installing Python Dependencies"
cd /opt/yubal
$STD uv sync --package yubal-api --no-dev --frozen
$STD uv sync --no-dev --frozen
msg_ok "Installed Python Dependencies"
msg_info "Starting Services"