From c4a15178a4a9464f799831c4fb1570c40dca1670 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 26 Feb 2024 03:18:19 +0100 Subject: [PATCH] get__default_matrix_server --- scripts/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 583970e..9501279 100644 --- a/scripts/config +++ b/scripts/config @@ -13,7 +13,17 @@ ynh_abort_if_errors #================================================= install_dir=$(ynh_app_setting_get --app="$app" --key=install_dir) -default_matrix_server=$(ynh_app_setting_get --app="$app" --key=default_matrix_server) + +#================================================= +# SPECIFIC GETTERS +#================================================= + +get__default_matrix_server() { + + default_matrix_server=$(ynh_app_setting_get --app="$app" --key=default_matrix_server) + + echo "$default_matrix_server" +} #================================================= # SPECIFIC SETTERS