diff --git a/scripts/restore b/scripts/restore index 4b87385..ec4c278 100755 --- a/scripts/restore +++ b/scripts/restore @@ -35,7 +35,7 @@ server_name=$(ynh_app_setting_get --app=$app --key=server_name) botname=$(ynh_app_setting_get --app=$app --key=botname) synapse_instance=$(ynh_app_setting_get --app=$app --key=synapse_instance) app_service_registration_path=$(ynh_app_setting_get --app=$app --key=app_service_registration_path) - +mautrix_config_path="$final_path/config.yaml" mautrix_bridge_db_pwd=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_pwd) #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 51b3692..a499993 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -150,7 +150,6 @@ ynh_add_systemd_config #================================================= ynh_script_progression --message="Configuring Mautrix-Bridge..." --weight=2 -mautrix_config_path="$final_path/config.yaml" ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.