From cde3db8d55e3e5339302f0519c145fcb9039ac02 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 4 Feb 2024 00:27:11 -0700 Subject: [PATCH] s --- gentoo-gnome.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index 78c4553..d170d5f 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -463,7 +463,7 @@ btrfs-tweaks() { } initialize-disk() { - SWAP_SIZE=$(expr $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') / 1024) + SWAP_SIZE=$(expr $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') / 1000 / 1000) echo "Test $SWAP_SIZE + $ROOT_PARTITION_SIZE" SWAP_SIZE_END="$(expr $(expr $SWAP_SIZE + $ROOT_PARTITION_SIZE) / 1000)" echo "Start: $ROOT_PARTITION_SIZE END: $SWAP_SIZE_END"