From 18f5ccb1adfb33460e55b8527ebc1ea4ea9f19c1 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Tue, 13 Oct 2020 00:12:43 +0200 Subject: [PATCH] Solve package_check restore on fresh install (#18) * Update remove * Update check_process * Update README.md --- README.md | 2 +- check_process | 2 +- scripts/remove | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 203c4ea..32c35d0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to ## Overview A puppeting bridge between Matrix and WhatsApp packaged as a YunoHost service. Messages, media and notifications are bridged between a whatsapp user and a matrix user. The matrix user can invite other matrix user in a bridged whatsapp room, such that even people without a whatsapp account can participate to whatsapp group conversations. The ["mautrix-whatsapp"](https://github.com/tulir/mautrix-whatsapp/wiki) bridge consists in a synapse app service and relies on postgresql (mysql also available). Therefore, [Synapse for YunoHost](https://github.com/YunoHost-Apps/synapse_ynh) should be installed beforehand. -**Shipped version:** 0.1.3 +**Shipped version:** 0.1.4 ## Screenshots diff --git a/check_process b/check_process index 4b43fcc..308d537 100644 --- a/check_process +++ b/check_process @@ -36,7 +36,7 @@ setup_root=0 setup_nourl=1 setup_private=0 - setup_public=1 + setup_public=0 upgrade=1 #upgrade=1 from_commit=CommitHash backup_restore=1 diff --git a/scripts/remove b/scripts/remove index f35dc8a..a4ce6bb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -102,6 +102,7 @@ ynh_script_progression --message="Removing synapse app service..." --time --weig ynh_secure_remove --file="$src_path" ynh_secure_remove --file="$app_service_registration_path/$app.yaml" + /opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh \ || ynh_die "Synapse can't restart with the appservice configuration"