From 58a55509895c84fa3bb32944771dd05700d739cf Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sat, 30 Dec 2023 01:20:40 +0000 Subject: [PATCH] debian repo issue #1721 --- update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 945f6acc..c8b47308 100644 --- a/update.sh +++ b/update.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SCRIPT_VERSION="150" +SCRIPT_VERSION="151" SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/update.sh' LATEST_SETTINGS_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py' YELLOW='\033[1;33m' @@ -245,6 +245,10 @@ if [ -d ~/.config ]; then sudo chown -R $USER:$GROUP ~/.config fi +if ! which npm >/dev/null; then + sudo apt install -y npm +fi + sudo npm install -g npm # update from main repo