diff --git a/scripts/install b/scripts/install index 9d4d8b2..eb7fcba 100755 --- a/scripts/install +++ b/scripts/install @@ -66,8 +66,8 @@ chown $app:$app "$install_dir/.env" ynh_script_progression "Installing $app..." pushd $install_dir - ynh_hide_warnings ynh_exec_as_app node_load_PATH npm install - ynh_hide_warnings ynh_exec_as_app node_load_PATH npm run db:init + ynh_hide_warnings ynh_exec_as_app npm install + ynh_hide_warnings ynh_exec_as_app npm run db:init popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 8f0a268..9c6857d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,8 +57,8 @@ chown $app:$app "$install_dir/.env" ynh_script_progression "Installing $app..." pushd $install_dir - ynh_hide_warnings ynh_exec_as_app node_load_PATH npm install - ynh_hide_warnings ynh_exec_as_app node_load_PATH npm run db:init + ynh_hide_warnings ynh_exec_as_app npm install + ynh_hide_warnings ynh_exec_as_app npm run db:init popd #=================================================