From cb9ff7ba2b74e29075d9ebf0c68475b5ee006bb0 Mon Sep 17 00:00:00 2001 From: Limezy Date: Mon, 6 Jun 2022 01:01:54 +0700 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index fc69a71..7de2545 100755 --- a/scripts/install +++ b/scripts/install @@ -69,8 +69,8 @@ total_memory=$(ynh_get_ram --total) swap_needed=0 # Need at least 2Go of RAM -if [ $total_memory -lt 2048 ]; then - swap_needed=$((2048 - total_memory)) +if [ $total_memory -lt 3072 ]; then + swap_needed=$((3072 - total_memory)) fi if [ $swap_needed -gt 0 ]; then