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:
parent
35b1f86d80
commit
c7ae50a596
1 changed files with 0 additions and 15 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue