mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-16 04:09:48 +00:00
Update tools.func
This commit is contained in:
parent
66d2f96b16
commit
b9ac02e74f
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue