diff --git a/scripts/install b/scripts/install index ef13462..99aeaec 100755 --- a/scripts/install +++ b/scripts/install @@ -53,7 +53,7 @@ ynh_replace --match="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.m ynh_script_progression "Installing $app..." pushd "$install_dir" - ynh_hide_warnings $ynh_npm install + ynh_hide_warnings npm install popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 41f3929..4cb8479 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -44,7 +44,7 @@ yunohost service add $app --description="Haste is a pastebin software" --log="/v ynh_script_progression "Installing $app..." pushd "$install_dir" - ynh_hide_warnings $ynh_npm install + ynh_hide_warnings ynh_hide_warnings ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install popd #=================================================