diff --git a/scripts/install b/scripts/install index 477901f..31165b4 100644 --- a/scripts/install +++ b/scripts/install @@ -69,7 +69,7 @@ yunohost service add $app --description="Collaborative Markdown editor" --log="/ #============================================== ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20 -pushd "$final_path" +pushd "$install_dir" ynh_use_nodejs #ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile