1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Merge pull request #35 from YunoHost-Apps/orhtej2-patch-3

Provision `uuid-ossp` extension
This commit is contained in:
Mateusz 2024-05-18 00:35:27 +02:00 committed by GitHub
commit 491e3ac385
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 17 additions and 8 deletions

View file

@ -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. 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 ## Screenshots

View file

@ -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. 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 ## Capturas

View file

@ -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. 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 ## Pantaila-argazkiak

View file

@ -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. 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 ## Captures décran

View file

@ -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. 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 ## Capturas de pantalla

View file

@ -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. 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
## 截图 ## 截图

View file

@ -8,7 +8,7 @@ name = "Penpot"
description.en = "Design and prototyping platform" description.en = "Design and prototyping platform"
description.fr = "Plateforme de conception et de prototypage" description.fr = "Plateforme de conception et de prototypage"
version = "2.0.2~ynh1" version = "2.0.2~ynh2"
maintainers = ["orhtej2"] maintainers = ["orhtej2"]

View file

@ -180,6 +180,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log"
#================================================= #=================================================
# ADD A CONFIGURATION # 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_script_progression --message="Adding app's configuration file..." ynh_script_progression --message="Adding app's configuration file..."
ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js"

View file

@ -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_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 # RESTORE SYSTEM CONFIGURATIONS
#================================================= #=================================================

View file

@ -175,6 +175,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log"
#================================================= #=================================================
# UPDATE A CONFIG FILE # 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_script_progression --message="Updating a configuration file..." ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js" ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js"