From 04a07db27ca035aef9d43ab8c59ab92460402cbd Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Wed, 14 May 2025 17:22:25 +0200 Subject: [PATCH] rever for homarr testing --- misc/tools.func | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index d8e7e11..9d71d02 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -9,13 +9,13 @@ install_node_and_modules() { if command -v node >/dev/null; then CURRENT_NODE_VERSION="$(node -v | grep -oP '^v\K[0-9]+')" if [[ "$CURRENT_NODE_VERSION" != "$NODE_VERSION" ]]; then - $STD msg_info "Node.js version $CURRENT_NODE_VERSION found, replacing with $NODE_VERSION" + msg_info "Node.js version $CURRENT_NODE_VERSION found, replacing with $NODE_VERSION" NEED_NODE_INSTALL=true else - $STD msg_ok "Node.js $NODE_VERSION already installed" + msg_ok "Node.js $NODE_VERSION already installed" fi else - msg_info "Setup Node.js $NODE_VERSION" + msg_info "Node.js not found, installing version $NODE_VERSION" NEED_NODE_INSTALL=true fi @@ -45,7 +45,7 @@ install_node_and_modules() { exit 1 fi - msg_ok "Setup Node.js ${NODE_VERSION}" + msg_ok "Installed Node.js ${NODE_VERSION}" fi export NODE_OPTIONS="--max-old-space-size=4096" @@ -99,6 +99,7 @@ install_node_and_modules() { fi } + install_postgresql() { local PG_VERSION="${PG_VERSION:-16}" local CURRENT_PG_VERSION=""