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

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"