From 1b004cd1df9c8053edc4ac5b252abe8deec3b46c Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Fri, 20 Jan 2023 07:23:10 +0100 Subject: [PATCH] [fix] Backup db empty (#85) * [fix] Backup db empty * Auto-update README Co-authored-by: yunohost-bot --- README_fr.md | 16 ++++++++-------- scripts/upgrade | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README_fr.md b/README_fr.md index 121ca8a..e4e77c2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,15 +5,15 @@ It shall NOT be edited by hand. # Matrix-WhatsApp bridge pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/mautrix_whatsapp.svg)](https://dash.yunohost.org/appci/app/mautrix_whatsapp) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/mautrix_whatsapp.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/mautrix_whatsapp.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/mautrix_whatsapp.svg)](https://dash.yunohost.org/appci/app/mautrix_whatsapp) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/mautrix_whatsapp.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/mautrix_whatsapp.maintain.svg) [![Installer Matrix-WhatsApp bridge avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=mautrix_whatsapp) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d'installer Matrix-WhatsApp bridge rapidement et simplement sur un serveur YunoHost. -Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* +> *Ce package vous permet d’installer Matrix-WhatsApp bridge rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Vue d'ensemble +## Vue d’ensemble Une passerelle entre Matrix et WhatsApp empaquetée comme un service YunoHost. Les messages, médias et notifications sont relayées entre un compte WhatsApp et un compte Matrix. @@ -106,9 +106,9 @@ Si vous devez téléverser vos fichiers log quelque-part, soyez avertis qu'ils c ## Documentations et ressources -* Site officiel de l'app : -* Documentation officielle de l'admin : -* Dépôt de code officiel de l'app : +* Site officiel de l’app : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug : @@ -124,4 +124,4 @@ ou sudo yunohost app upgrade mautrix_whatsapp -u https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index 5273e41..495d411 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,7 +89,7 @@ then fi if [ -z "$db_name" ] then - db_name=$(ynh_app_setting_get --app=$app --key=$app) + db_name=$(ynh_app_setting_get --app=$app --key=mautrix_whatsapp_db_name) ynh_app_setting_set --app=$app --key=db_name --value=$db_name fi if [ -z "$db_pwd" ]