diff --git a/scripts/install b/scripts/install index 4496c9d..caa2847 100644 --- a/scripts/install +++ b/scripts/install @@ -123,8 +123,8 @@ ynh_add_systemd_config script_dir="$PWD" pushd "$final_path" chown -R $app:$app $final_path -sudo_path npm install -sudo_path npm install -g bower +npm install +npm install -g bower sudo su -l $app -s /bin/bash -c "cd $final_path && env PATH=$PATH bower install" popd