From f3cf1a778230124dbfdd0d997e90a3c45dd61e57 Mon Sep 17 00:00:00 2001 From: Anton Georgiev <antobinary@users.noreply.github.com> Date: Thu, 8 Apr 2021 16:11:23 -0400 Subject: [PATCH] Update deploy_to_usr_share.sh After updating npm from 6.5.x to 7.x I have had to add `sudo` to install npm dependencies. A few lines below file ownership and permissions are corrected, so I think all should be fine. This should work well even with npm 6.x --- bigbluebutton-html5/deploy_to_usr_share.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/deploy_to_usr_share.sh b/bigbluebutton-html5/deploy_to_usr_share.sh index 6f03a45fca..2003042a27 100755 --- a/bigbluebutton-html5/deploy_to_usr_share.sh +++ b/bigbluebutton-html5/deploy_to_usr_share.sh @@ -33,7 +33,7 @@ tar -xzf $UPPER_DESTINATION_DIR/bigbluebutton-html5.tar.gz -C $UPPER_DESTINATION cd "$DESTINATION_DIR"/programs/server/ || exit -npm i --production +sudo npm i --production echo "deployed to $DESTINATION_DIR/programs/server\n\n\n" echo "writing $DESTINATION_DIR/mongod_start_pre.sh" -- GitLab