From 37db74e0f115e030c5eb133e0a79aacfce8e8b21 Mon Sep 17 00:00:00 2001 From: rosareven Date: Mon, 1 Jul 2019 23:40:11 +1200 Subject: [PATCH] Attempt to fix -u command that prevented install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 23f4aad..28e2b9e 100644 --- a/scripts/install +++ b/scripts/install @@ -122,7 +122,7 @@ chown -R $serviceuser: $final_path cd $final_path/programs/server/ --u $serviceuser npm install --production +sudo -u $serviceuser npm install --production cd $workdir