1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digisteps_ynh.git synced 2024-09-03 18:26:21 +02:00

Merge pull request #12 from YunoHost-Apps/fix

Fix
This commit is contained in:
eric_G 2024-05-17 15:15:55 +02:00 committed by GitHub
commit 7b7b58eb6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 17 additions and 23 deletions

View file

@ -18,7 +18,7 @@ It shall NOT be edited by hand.
Create simple online educational pathes Create simple online educational pathes
**Shipped version:** 0.5.16~ynh1 **Shipped version:** 0.5.16~ynh2
**Demo:** <https://ladigitale.dev/digisteps/#/> **Demo:** <https://ladigitale.dev/digisteps/#/>
## Documentation and resources ## Documentation and resources

View file

@ -18,7 +18,7 @@ No se debe editar a mano.
Create simple online educational pathes Create simple online educational pathes
**Versión actual:** 0.5.16~ynh1 **Versión actual:** 0.5.16~ynh2
**Demo:** <https://ladigitale.dev/digisteps/#/> **Demo:** <https://ladigitale.dev/digisteps/#/>
## Documentaciones y recursos ## Documentaciones y recursos

View file

@ -18,7 +18,7 @@ EZ editatu eskuz.
Create simple online educational pathes Create simple online educational pathes
**Paketatutako bertsioa:** 0.5.16~ynh1 **Paketatutako bertsioa:** 0.5.16~ynh2
**Demoa:** <https://ladigitale.dev/digisteps/#/> **Demoa:** <https://ladigitale.dev/digisteps/#/>
## Dokumentazioa eta baliabideak ## Dokumentazioa eta baliabideak

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
Create simple online educational pathes Create simple online educational pathes
**Version incluse:** 0.5.16~ynh1 **Version incluse:** 0.5.16~ynh2
**Démo:** <https://ladigitale.dev/digisteps/#/> **Démo:** <https://ladigitale.dev/digisteps/#/>
## Documentations et ressources ## Documentations et ressources

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
Create simple online educational pathes Create simple online educational pathes
**Versión proporcionada:** 0.5.16~ynh1 **Versión proporcionada:** 0.5.16~ynh2
**Demo:** <https://ladigitale.dev/digisteps/#/> **Demo:** <https://ladigitale.dev/digisteps/#/>
## Documentación e recursos ## Documentación e recursos

View file

@ -18,7 +18,7 @@
Create simple online educational pathes Create simple online educational pathes
**分发版本:** 0.5.16~ynh1 **分发版本:** 0.5.16~ynh2
**演示:** <https://ladigitale.dev/digisteps/#/> **演示:** <https://ladigitale.dev/digisteps/#/>
## 文档与资源 ## 文档与资源

View file

@ -2,7 +2,7 @@
location __PATH__/ { location __PATH__/ {
# Path to source # Path to source
alias __INSTALL_DIR__/; alias __INSTALL_DIR__/dist/;
#index index.php; #index index.php;

View file

@ -5,7 +5,7 @@ name = "Digisteps"
description.en = "Create simple online educational pathes" description.en = "Create simple online educational pathes"
description.fr = "Créer des parcours pédagogiques simples en ligne" description.fr = "Créer des parcours pédagogiques simples en ligne"
version = "0.5.16~ynh1" version = "0.5.16~ynh2"
maintainers = ["Pierre-Amiel Giraud"] maintainers = ["Pierre-Amiel Giraud"]

View file

@ -22,7 +22,7 @@ ynh_print_info --message="Declaring files to be backed up..."
ynh_backup --src_path="$install_dir" ynh_backup --src_path="$install_dir"
#================================================= #=================================================
# BACKUP THE NGINX CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"

View file

@ -20,9 +20,9 @@ chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# NGINX CONFIGURATION # APP INITIAL CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Configuring NGINX web server..." --weight=1 ynh_script_progression --message="Adding $app's configuration files..." --weight=1
ynh_add_nginx_config ynh_add_nginx_config

View file

@ -10,9 +10,9 @@ source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE SYSTEM CONFIGURATIONS
#================================================= #=================================================
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
ynh_remove_nginx_config ynh_remove_nginx_config

View file

@ -20,9 +20,9 @@ chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# RESTORE THE PHP-FPM CONFIGURATION # RESTORE SYSTEM CONFIGURATIONS
#================================================= #=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1 ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"

View file

@ -9,12 +9,6 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
@ -26,9 +20,9 @@ chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================
# NGINX CONFIGURATION # REAPPLY SYSTEM CONFIGURATIONS
#================================================= #=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
ynh_add_nginx_config ynh_add_nginx_config