diff --git a/scripts/_common.sh b/scripts/_common.sh index 1b13c58..184e1a4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,7 @@ # # Release to install -VERSION=2021.4.6 +VERSION=2021.6.5 # Package dependencies PKG_DEPENDENCIES="python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5" diff --git a/scripts/restore b/scripts/restore index cb7a2ea..42666e2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,8 +32,7 @@ ynh_webpath_available --domain="$domain" --path_url="$path_url" || ynh_die "$dom ynh_script_progression --message="Restoring the port and opening it..." # restore port -[ $port -eq $(ynh_find_port $port) ] || ynh_die "$port is not available, please use an other port" -ynh_exec_fully_quiet yunohost firewall allow TCP $port +ynh_exec_warn_less yunohost firewall allow TCP $port ynh_script_progression --message="Restoring dedicated user, rights and folders..." # restore dedicated system user