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 4 additions and 0 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

@@ -4629,6 +4629,9 @@ _setup_amd_apu() {
$STD apt -y install firmware-amd-graphics 2>/dev/null || true
fi
# ROCm compute stack (OpenCL + HIP) - also works for many APUs
_setup_rocm "$os_id" "$os_codename"
msg_ok "AMD APU configured"
}