From fb0903c0b15778339dfc8a54792046c9774a6a73 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 4 Feb 2024 00:13:44 -0700 Subject: [PATCH] as --- gentoo-gnome.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index d2e9dbd..30c66a6 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -464,7 +464,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_END="$(expr $SWAP_SIZE + $ROOT_PARTITION_SIZE / 1000 / 1000)" + SWAP_SIZE_END="$(expr $SWAP_SIZE + $ROOT_PARTITION_SIZE / 1000 / 1000 / 1000)" echo "Start: $SWAP_SIZE END: $SWAP_SIZE_END" parted /dev/$HARD_DISK mklabel gpt parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB