From a3c9dbeac0874deac6f6437704e38654abc09ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 20 Feb 2024 23:18:15 +0100 Subject: [PATCH] Cleanup --- scripts/upgrade | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 916d934..189bb3c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -322,25 +322,6 @@ if [ -e /home/yunohost.app/matrix-$app ]; then ynh_secure_remove --file=/home/yunohost.app/matrix-$app fi -#================================================= -# MIGRATION 10 : leave port managed by yunohost -#================================================= - -# TODO check on v2 how it works - -closeport() { - local port=$1 - if yunohost firewall list | grep -q "\- $port$" - then - ynh_script_progression --message="Closing port $port" - ynh_exec_warn_less yunohost firewall disallow Both $port - fi -} - -# closeport $synapse_tls_port -# closeport $turnserver_tls_port -# closeport $turnserver_alt_tls_port - #================================================= # MIGRATION 11 : make this app using full domain #================================================= @@ -365,11 +346,6 @@ if grep -q matrix-$app /etc/passwd; then adduser $app ssl-cert fi -######################################### WARNING ################################ - -# TODO delete legacy user matrix-synapse - - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================