From a31d359acf98153e1c399c12981f345e5d9d30a9 Mon Sep 17 00:00:00 2001 From: Sandor Muranyi Date: Mon, 8 Feb 2021 11:06:26 +0100 Subject: [PATCH] compatibility updates for newer ubuntus - 2 --- functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 131a003..70c4364 100644 --- a/functions.sh +++ b/functions.sh @@ -271,7 +271,8 @@ install_deps () { sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - > /dev/null 2>&1 sudo curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - > /dev/null 2>&1 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list > /dev/null 2>&1 - sudo apt-get update && sudo apt-get install -y nodejs yarn > /dev/null 2>&1 + sudo apt-get update > /dev/null 2>&1 + sudo apt-get install -y nodejs yarn > /dev/null 2>&1 sudo npm install -g grunt-cli pm2 lerna > /dev/null 2>&1 pm2 install pm2-logrotate > /dev/null 2>&1