1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Update remove

This commit is contained in:
Éric Gaspar 2023-07-09 14:45:47 +02:00
parent 2e0d98a8b5
commit ddde99f18c

View file

@ -49,12 +49,6 @@ ynh_remove_nginx_config
# CLOSE A PORT
#=================================================
if yunohost firewall list | grep -q "\- $port_turn$"
then
ynh_script_progression --message="Closing port $port_turn..." --weight=1
ynh_exec_warn_less yunohost firewall disallow both $port_turn
fi
if yunohost firewall list | grep -q "\- 49152:65535"
then
ynh_script_progression --message="Closing UDP ports..." --weight=1