diff --git a/scripts/Arch/OS/partition.sh b/scripts/Arch/OS/partition.sh index fe0cf202..6503dc1c 100755 --- a/scripts/Arch/OS/partition.sh +++ b/scripts/Arch/OS/partition.sh @@ -7,7 +7,7 @@ ARCH_DISK="${ARCH_DISK}"; SKIP_FORMAT_EFI="${SKIP_FORMAT_EFI}"; PARTITION_SCRIPT="${PARTITION_SCRIPT:-"./default-partition.sh"}"; memory="$(cat /proc/meminfo | awk -F " " '/^MemTotal/ { print $2 }')"; -swapSize="$(echo "$memory" | awk '{ print int(($1 / 1024 / 1024 4) + 0.5)}')"; +swapSize="$(echo "$memory" | awk '{ print int((($1 / 1024 / 1024) * 0.75) + 0.5)}')"; export SWAP_SIZE="$swapSize";