From b576c4c0bd8e34f5c3b9d132822378466b4194d2 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 8 Mar 2021 21:40:57 +0100 Subject: [PATCH] Revert prevent check_memory --- scripts/install | 6 ++---- scripts/restore | 6 ++---- scripts/upgrade | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/scripts/install b/scripts/install index 318818e..e232ce9 100644 --- a/scripts/install +++ b/scripts/install @@ -42,10 +42,8 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then - # Check memory requirements - check_memory_requirements -fi +# Check memory requirements +check_memory_requirements #================================================= # STORE SETTINGS FROM MANIFEST diff --git a/scripts/restore b/scripts/restore index 90af673..8a956fa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -44,10 +44,8 @@ ynh_webpath_available --domain=$domain --path_url=$path_url \ test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then - # Check memory requirements - check_memory_requirements -fi +# Check memory requirements +check_memory_requirements #================================================= # STANDARD RESTORATION STEPS diff --git a/scripts/upgrade b/scripts/upgrade index e1cd224..56c94a7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,10 +25,8 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd) redis_db=$(ynh_app_setting_get --app=$app --key=redis_db) unicorn_workers=$(ynh_app_setting_get --app=$app --key=unicorn_workers) -if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then - # Check memory requirements - check_memory_requirements_upgrade -fi +# Check memory requirements +check_memory_requirements_upgrade #================================================= # CHECK VERSION