From ffac7e840cb4af23208697a6968c983e41fe559c Mon Sep 17 00:00:00 2001 From: Justin Cooper Date: Tue, 6 Mar 2018 09:05:11 -0600 Subject: [PATCH] clean up npm in install a bit --- scripts/install.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 39728f63..e64db53f 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -84,6 +84,7 @@ fi rm /etc/sudoers.tmp echo "**** Installing webide dependencies ****" +npm install -g npm npm config set tmp "$WEBIDE_HOME/tmp" npm install @@ -94,10 +95,6 @@ chmod 775 "$WEBIDE_ROOT" echo "**** Adding default .bashrc file for webide user ****" cp "$WEBIDE_ROOT/scripts/.bashrc" "$WEBIDE_HOME" -echo "**** Installing webide dependencies ****" -npm install -g npm -npm install - echo "Attempting to force reload date and time from ntp server" /etc/init.d/ntp force-reload