diff --git a/scripts/install b/scripts/install index 9e1b134..ac34d47 100755 --- a/scripts/install +++ b/scripts/install @@ -139,7 +139,7 @@ chown $app:$app "$final_path/config.yaml" ynh_script_progression --message="Registering Synapse app-service" --weight=1 $final_path/mautrix-whatsapp -g -c $final_path/config.yaml -r /etc/matrix-$synapse_instance/app-service/$app.yaml -/opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh || ynh_die "Synapse can't restart with the appservice configuration" +/opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh || ynh_die --message="Synapse can't restart with the appservice configuration" chown -R $app:$app "$final_path" ynh_store_file_checksum --file="/etc/matrix-$synapse_instance/app-service/$app.yaml"