From b9ac02e74f23863e5d3fbddc8749a51207f826ae Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 10 Jul 2025 14:39:33 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 5210b9519..b3e078bb6 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -64,17 +64,6 @@ function setup_nodejs() { fi fi - if ! apt-cache policy nodejs | grep -q 'Candidate:'; then - msg_error "Node.js package not found – repository might be broken or too fresh" - apt-cache policy nodejs >&2 - exit 1 - fi - - if ! apt-get install -y nodejs >/dev/null 2>&1; then - msg_error "Failed to install Node.js ${NODE_VERSION} from NodeSource" - exit 1 - fi - if ! apt-get install -y nodejs >/dev/null 2>&1; then msg_error "Failed to install Node.js ${NODE_VERSION} from NodeSource" exit 1