diff --git a/README.md b/README.md index 9480479..6435b6b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ You can use it to easily collaborate on notes, graphs and even presentations in - Easy to use permission system - Low system requirements -**Shipped version:** 1.9.7~ynh1 +**Shipped version:** 1.9.7~ynh2 **Demo:** https://demo.hedgedoc.org/ diff --git a/README_fr.md b/README_fr.md index 3e2d0fb..60b380d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ You can use it to easily collaborate on notes, graphs and even presentations in - Easy to use permission system - Low system requirements -**Version incluse :** 1.9.7~ynh1 +**Version incluse :** 1.9.7~ynh2 **Démo :** https://demo.hedgedoc.org/ diff --git a/manifest.json b/manifest.json index 34af6e6..be5e979 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Collaborative editor to work on notes written in Markdown", "fr": "Éditeur collaboratif pour travailler sur des notes en Markdown" }, - "version": "1.9.7~ynh1", + "version": "1.9.7~ynh2", "url": "https://hedgedoc.org", "upstream": { "license": "AGPL-3.0-only", @@ -20,7 +20,7 @@ "name": "eric_G" }, "requirements": { - "yunohost": ">= 11.0.9" + "yunohost": ">= 11.1.11" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index 6d257e0..cc2cda1 100644 --- a/scripts/install +++ b/scripts/install @@ -132,8 +132,9 @@ ynh_script_progression --message="Building HedgeDoc... (this will take some time pushd "$final_path" ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean - bin/setup + #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 + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9c81389..874501f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -154,7 +154,8 @@ then pushd "$final_path" ynh_secure_remove /usr/local/share/.cache/yarn ynh_use_nodejs - bin/setup + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build popd fi