1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

No need to close port since it was never opened

This commit is contained in:
tituspijean 2020-11-08 17:04:29 +01:00
parent c70b60ece0
commit 63e023d232

View file

@ -67,16 +67,6 @@ ynh_script_progression --message="Removing nginx web server configuration..." --
# Remove the dedicated nginx config
ynh_remove_nginx_config
#=================================================
# CLOSE A PORT
#=================================================
if yunohost firewall list | grep -q "\- $port$"
then
ynh_script_progression --message="Closing port $port..." --weight=1
ynh_exec_warn_less yunohost firewall disallow TCP $port
fi
#=================================================
# GENERIC FINALIZATION
#=================================================