From 01d7a4946e1ae9dd85838e95a5a6906f316540af Mon Sep 17 00:00:00 2001 From: Limezy Date: Mon, 6 Jun 2022 01:48:18 +0700 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 5f65fbf..6dbf5e0 100755 --- a/scripts/install +++ b/scripts/install @@ -68,9 +68,9 @@ ynh_app_setting_set --app=$app --key=language --value=$language_key total_memory=$(ynh_get_ram --total) swap_needed=0 -# Need at least 1.5Go of RAM to build and run -if [ $total_memory -lt 1536 ]; then - swap_needed=$((1536 - total_memory)) +# Need at least 2Go of RAM to build and run +if [ $total_memory -lt 2048 ]; then + swap_needed=$((2048 - total_memory)) fi if [ $swap_needed -gt 0 ]; then