From 4c7b18bf1427275b63d3ff1d11973790a8d999e3 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Mar 2026 08:44:18 +0100 Subject: [PATCH] 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 --- ct/tududi.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/tududi.sh b/ct/tududi.sh index 4e4b0ad26..bb7687bdb 100644 --- a/ct/tududi.sh +++ b/ct/tududi.sh @@ -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"