From 5f35b5f54bd1c4f61b911a1761aa1f6415e9e912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 26 Feb 2024 14:05:59 +0100 Subject: [PATCH] fix install,remove --- manifest.toml | 1 - scripts/install | 4 ++-- scripts/remove | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 1723816..3e9acfe 100644 --- a/manifest.toml +++ b/manifest.toml @@ -15,7 +15,6 @@ maintainers = ["MayeulC"] license = "AGPL-3.0-or-later" userdoc = "https://docs.mau.fi/bridges/python/signal/index.html" code = "https://github.com/mautrix/signal" -website = "https://github.com/mautrix/signal" fund = "https://github.com/sponsors/tulir" [integration] diff --git a/scripts/install b/scripts/install index c78fa72..96d76ff 100755 --- a/scripts/install +++ b/scripts/install @@ -30,8 +30,8 @@ then else synapse_instance="synapse__$synapsenumber" fi -#REMOVEME? server_name=$(ynh_app_setting_get --app $synapse_instance --key server_name) -#REMOVEME? domain=$(ynh_app_setting_get --app $synapse_instance --key domain) +server_name=$(ynh_app_setting_get --app $synapse_instance --key server_name) +domain=$(ynh_app_setting_get --app $synapse_instance --key domain) mautrix_version=$(ynh_app_upstream_version) bot_synapse_db_user="@$botname:$server_name" synapse_db_name="matrix_$synapse_instance" diff --git a/scripts/remove b/scripts/remove index 870dc1b..21778bf 100755 --- a/scripts/remove +++ b/scripts/remove @@ -36,7 +36,7 @@ ynh_remove_logrotate #================================================= # REMOVE THE POSTGRESQL DATABASE #================================================= -#REMOVEME? ynh_script_progression --message="Removing the PostgreSQL database..." --weight=4 +ynh_script_progression --message="Removing the PostgreSQL configuration..." --weight=4 # Remove a database if it exists, along with the associated user ynh_psql_execute_as_root --database=$synapse_db_name --sql="DROP OWNED BY ""$app"";"