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

remove unnecessary code in remove script

This commit is contained in:
Kay0u 2023-08-28 10:42:28 +02:00
parent 35b1f86d80
commit c7ae50a596
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -51,21 +51,6 @@ ynh_script_progression --message="Removing NGINX web server configuration" --wei
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# CLOSE A PORT
#=================================================
# These ports are no longer open but were in previous versions
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
if yunohost firewall list | grep -q "\- $portPuma$"; then
ynh_script_progression --message="Closing port $portPuma" --weight=1
ynh_exec_warn_less yunohost firewall disallow TCP $portPuma
fi
#=================================================
# SPECIFIC REMOVE
#=================================================