From 8a26e8a8b7877ed88657519d7b319ded041e1c42 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Tue, 7 May 2024 23:32:10 +0200 Subject: [PATCH 01/19] Update to 2.0-hotfix-4 --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 8adb176..d3aba65 100644 --- a/manifest.toml +++ b/manifest.toml @@ -44,8 +44,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/penpot/penpot/archive/refs/tags/2.0.2.tar.gz" - sha256 = "52b3e81d2032055f3d845e2e6db03ba266d159532939e26347ba340f20515337" + url = "https://github.com/penpot/penpot/archive/refs/tags/2.0-hotfix-4.tar.gz" + sha256 = "1a2d8eab25359e7ce4b29ae854e880f2bf7da8a91a2b6769501b14053a4c736f" autoupdate.strategy = "latest_github_tag" [resources.sources.jdk] From 7489c163afc687cdd442a7510b55c0ed5d20bad0 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 7 May 2024 21:32:15 +0000 Subject: [PATCH 02/19] Auto-update READMEs --- README_zh_Hans.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_zh_Hans.md b/README_zh_Hans.md index c0d9999..15bcd44 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Penpot +# YunoHost 上的 Penpot [![集成程度](https://dash.yunohost.org/integration/penpot.svg)](https://dash.yunohost.org/appci/app/penpot) ![工作状态](https://ci-apps.yunohost.org/ci/badges/penpot.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/penpot.maintain.svg) From 5650e76002110df326bd92f8f886d60a8d23a245 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Sat, 11 May 2024 22:25:39 +0200 Subject: [PATCH 03/19] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index d3aba65..3b22809 100644 --- a/manifest.toml +++ b/manifest.toml @@ -8,7 +8,7 @@ name = "Penpot" description.en = "Design and prototyping platform" description.fr = "Plateforme de conception et de prototypage" -version = "2.0.2~ynh1" +version = "2.0-hotfix4~ynh1" maintainers = ["orhtej2"] From 244f93dde0f2c173854d11af460a8aa836d4356a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 11 May 2024 20:25:44 +0000 Subject: [PATCH 04/19] Auto-update READMEs --- ALL_README.md | 1 + README.md | 2 +- README_es.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 7 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 README_es.md diff --git a/ALL_README.md b/ALL_README.md index a01b345..8938aae 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Lee el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/README.md b/README.md index 75b21fc..43dea52 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Shipped version:** 2.0.2~ynh1 +**Shipped version:** 2.0-hotfix4~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..f0a4149 --- /dev/null +++ b/README_es.md @@ -0,0 +1,48 @@ + + +# Penpot para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/penpot.svg)](https://dash.yunohost.org/appci/app/penpot) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/penpot.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/penpot.maintain.svg) + +[![Instalar Penpot con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=penpot) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarPenpot rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. + +**Versión actual:** 2.0-hotfix4~ynh1 + +## Capturas + +![Captura de Penpot](./doc/screenshots/189871786-0b44f7cf-3a0a-4445-a87b-9919ec398bf7.gif) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación usuario oficial: +- Documentación administrador oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/penpot_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/penpot_ynh/tree/testing --debug +o +sudo yunohost app upgrade penpot -u https://github.com/YunoHost-Apps/penpot_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md index 582c042..d209505 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Paketatutako bertsioa:** 2.0.2~ynh1 +**Paketatutako bertsioa:** 2.0-hotfix4~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 55c96ce..d8c7315 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Version incluse :** 2.0.2~ynh1 +**Version incluse :** 2.0-hotfix4~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 45f8dbd..5731e06 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión proporcionada:** 2.0.2~ynh1 +**Versión proporcionada:** 2.0-hotfix4~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 15bcd44..a551984 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**分发版本:** 2.0.2~ynh1 +**分发版本:** 2.0-hotfix4~ynh1 ## 截图 From b9b3a508aa5a14517927a406e680ed80aabf2214 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 13 May 2024 17:48:00 +0200 Subject: [PATCH 05/19] Upgrade to v2.0.2 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 3b22809..8adb176 100644 --- a/manifest.toml +++ b/manifest.toml @@ -8,7 +8,7 @@ name = "Penpot" description.en = "Design and prototyping platform" description.fr = "Plateforme de conception et de prototypage" -version = "2.0-hotfix4~ynh1" +version = "2.0.2~ynh1" maintainers = ["orhtej2"] @@ -44,8 +44,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/penpot/penpot/archive/refs/tags/2.0-hotfix-4.tar.gz" - sha256 = "1a2d8eab25359e7ce4b29ae854e880f2bf7da8a91a2b6769501b14053a4c736f" + url = "https://github.com/penpot/penpot/archive/refs/tags/2.0.2.tar.gz" + sha256 = "52b3e81d2032055f3d845e2e6db03ba266d159532939e26347ba340f20515337" autoupdate.strategy = "latest_github_tag" [resources.sources.jdk] From 1743d0da2295f35656b431785bfcef4919b9b7bd Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 13 May 2024 15:48:10 +0000 Subject: [PATCH 06/19] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 43dea52..75b21fc 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Shipped version:** 2.0-hotfix4~ynh1 +**Shipped version:** 2.0.2~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md index f0a4149..56e79f4 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión actual:** 2.0-hotfix4~ynh1 +**Versión actual:** 2.0.2~ynh1 ## Capturas diff --git a/README_eu.md b/README_eu.md index d209505..582c042 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Paketatutako bertsioa:** 2.0-hotfix4~ynh1 +**Paketatutako bertsioa:** 2.0.2~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index d8c7315..55c96ce 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Version incluse :** 2.0-hotfix4~ynh1 +**Version incluse :** 2.0.2~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 5731e06..45f8dbd 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión proporcionada:** 2.0-hotfix4~ynh1 +**Versión proporcionada:** 2.0.2~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index a551984..15bcd44 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**分发版本:** 2.0-hotfix4~ynh1 +**分发版本:** 2.0.2~ynh1 ## 截图 From 4e61d63f18a6cb5798296bd0873dee65e0b1f879 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:37:34 +0200 Subject: [PATCH 07/19] Update install --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index bc16eeb..ebee447 100644 --- a/scripts/install +++ b/scripts/install @@ -180,6 +180,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" #================================================= # ADD A CONFIGURATION #================================================= +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name + ynh_script_progression --message="Adding app's configuration file..." ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" From 4dcafc7b67362b237a99671724b53e5228345fe7 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:38:47 +0200 Subject: [PATCH 08/19] Update upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 375258c..55b1f1d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -175,6 +175,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" #================================================= # UPDATE A CONFIG FILE #================================================= +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name + ynh_script_progression --message="Updating a configuration file..." ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" From 4f6a87bbcff53991012ac3d27fcceac158c16121 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:39:36 +0200 Subject: [PATCH 09/19] Update restore --- scripts/restore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 5897951..3caf63e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,9 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name + #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= @@ -83,4 +86,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last \ No newline at end of file +ynh_script_progression --message="Restoration completed for $app" --last From 0ad58f427036cfd5c77f46aa4d3080a11c7f8277 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:39:56 +0200 Subject: [PATCH 10/19] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ebee447..ce6d209 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # ADD A CONFIGURATION #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name ynh_script_progression --message="Adding app's configuration file..." From abc9c8e229b502512f4970cfc0e9c80f63e22450 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:40:38 +0200 Subject: [PATCH 11/19] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 55b1f1d..72e753a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,7 +176,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name ynh_script_progression --message="Updating a configuration file..." From bab5f06fdca3eef3d26bd3d599b559e0e67eac2d Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 20:41:28 +0200 Subject: [PATCH 12/19] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8adb176..530b71d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -8,7 +8,7 @@ name = "Penpot" description.en = "Design and prototyping platform" description.fr = "Plateforme de conception et de prototypage" -version = "2.0.2~ynh1" +version = "2.0.2~ynh2" maintainers = ["orhtej2"] From 04bccad487949f14038541cac3f109b6152c43f8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 May 2024 18:41:32 +0000 Subject: [PATCH 13/19] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 75b21fc..d26f158 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Shipped version:** 2.0.2~ynh1 +**Shipped version:** 2.0.2~ynh2 ## Screenshots diff --git a/README_es.md b/README_es.md index 56e79f4..8d208c5 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión actual:** 2.0.2~ynh1 +**Versión actual:** 2.0.2~ynh2 ## Capturas diff --git a/README_eu.md b/README_eu.md index 582c042..7f42c1d 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Paketatutako bertsioa:** 2.0.2~ynh1 +**Paketatutako bertsioa:** 2.0.2~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 55c96ce..900f7ff 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Version incluse :** 2.0.2~ynh1 +**Version incluse :** 2.0.2~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 45f8dbd..5849469 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**Versión proporcionada:** 2.0.2~ynh1 +**Versión proporcionada:** 2.0.2~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 15bcd44..afd1e3d 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ Design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, web based and works with open standards (SVG). Penpot invites designers all over the world to fall in love with open source while getting developers excited about the design process in return. -**分发版本:** 2.0.2~ynh1 +**分发版本:** 2.0.2~ynh2 ## 截图 From 1d6cf4f1b2027372541d0c18c9e9fc8e5ada254b Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 22:06:14 +0200 Subject: [PATCH 14/19] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ce6d209..fb9979a 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # ADD A CONFIGURATION #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name ynh_script_progression --message="Adding app's configuration file..." From 24cbe57b33fd529f9df82609f19ade8ffa0da6ca Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 22:07:05 +0200 Subject: [PATCH 15/19] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 3caf63e..a019016 100644 --- a/scripts/restore +++ b/scripts/restore @@ -44,7 +44,7 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name #================================================= # RESTORE SYSTEM CONFIGURATIONS From d3d2b136ed92efd1175d08c5126778974522b945 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 22:07:27 +0200 Subject: [PATCH 16/19] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 72e753a..2c5a661 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,7 +176,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name ynh_script_progression --message="Updating a configuration file..." From 571705348858d89c4a1ac3dd1e64f5c82eeee1ec Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 23:02:05 +0200 Subject: [PATCH 17/19] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index a019016..ec39339 100644 --- a/scripts/restore +++ b/scripts/restore @@ -44,7 +44,7 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name #================================================= # RESTORE SYSTEM CONFIGURATIONS From f2c075339b519f26be726a0571e9e23349f3a99e Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 23:02:25 +0200 Subject: [PATCH 18/19] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2c5a661..03ed82e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -176,7 +176,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # UPDATE A CONFIG FILE #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name ynh_script_progression --message="Updating a configuration file..." From 42a155bfc2be8d8f3e321ff008a27813aba33986 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 17 May 2024 23:02:43 +0200 Subject: [PATCH 19/19] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index fb9979a..b2a0e8f 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log" # ADD A CONFIGURATION #================================================= ynh_script_progression --message="Updating database configuration..." -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS "uuid-ossp";" --database=$db_name +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database=$db_name ynh_script_progression --message="Adding app's configuration file..."