diff --git a/check_process b/check_process index ba1d0d3..c66d406 100644 --- a/check_process +++ b/check_process @@ -16,7 +16,7 @@ setup_public=1 upgrade=1 # 12.0-6 - upgrade=1 from_commit=2cfdbc229faa8700873e681a01f823c32475cca8 + # upgrade=1 from_commit=2cfdbc229faa8700873e681a01f823c32475cca8 backup_restore=1 multi_instance=1 port_already_use=0 diff --git a/scripts/install b/scripts/install index 750e793..e37aba6 100644 --- a/scripts/install +++ b/scripts/install @@ -139,11 +139,11 @@ ynh_add_nginx_config #================================================= # ADD SWAP #================================================= -ynh_script_progression --message="Adding swap..." if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then : else + ynh_script_progression --message="Adding swap..." ynh_add_swap --size=$swap_needed fi diff --git a/scripts/remove b/scripts/remove index b67cd00..9eac726 100644 --- a/scripts/remove +++ b/scripts/remove @@ -91,11 +91,11 @@ ynh_secure_remove --file="/var/log/$app.log" #================================================= # REMOVE SWAP #================================================= -ynh_script_progression --message="Removing swap..." if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then : else + ynh_script_progression --message="Removing swap..." ynh_del_swap fi diff --git a/scripts/restore b/scripts/restore index a967402..2effee2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -98,11 +98,11 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # ADD SWAP #================================================= -ynh_script_progression --message="Adding swap..." if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then : else + ynh_script_progression --message="Adding swap..." ynh_add_swap --size=$swap_needed fi diff --git a/scripts/upgrade b/scripts/upgrade index 8fe393d..bd9ae58 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,11 +105,11 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # ADD SWAP #================================================= -ynh_script_progression --message="Adding swap..." if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then : else + ynh_script_progression --message="Adding swap..." ynh_add_swap --size=$swap_needed fi