From 25470c40b61b5fad45a8fd3a68b094f17b1a27b4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 30 Jan 2019 17:10:27 +0100 Subject: [PATCH] Fix install as $app --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 20b0f0e..f24ef4e 100644 --- a/scripts/install +++ b/scripts/install @@ -174,7 +174,7 @@ ynh_system_user_create $app chown -R $app: $final_path pushd $final_path -ynh_use_nodejs +sudo -u "$app" ynh_use_nodejs sudo -u "$app" npm install "graphql@^0.13.1" sudo -u "$app" npm install "acorn@^6.0.0" sudo -u "$app" npm install "babel-core@>=6.0.20"