From 26cf31b716a8338ec0a868c51823a39e374fc1d4 Mon Sep 17 00:00:00 2001 From: fabrice1236 Date: Mon, 6 Jan 2025 21:01:05 +0100 Subject: [PATCH] Remove separate npm installation step --- install/ghost-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/ghost-install.sh b/install/ghost-install.sh index dc3d4629..1f7889ce 100644 --- a/install/ghost-install.sh +++ b/install/ghost-install.sh @@ -43,11 +43,11 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list msg_ok "Set up Node.js Repository" -# Install Node.js and npm -msg_info "Installing Node.js and npm" +# Install Node.js (includes npm) +msg_info "Installing Node.js" $STD apt-get update -$STD apt-get install -y nodejs npm -msg_ok "Installed Node.js and npm" +$STD apt-get install -y nodejs +msg_ok "Installed Node.js" # Install Ghost CLI msg_info "Installing Ghost CLI"