From c321e7801befd4e473562730a4f337fa3ec08bec Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 3 Feb 2024 23:56:33 -0700 Subject: [PATCH] s --- gentoo-gnome.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index ea6dd0d..59a1e8d 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -463,9 +463,8 @@ btrfs-tweaks() { } initialize-disk() { - ROOT_PARTITION_SIZE="$ROOT_PARTITION_SIZE GB" 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) GB" + SWAP_SIZE_END="$(expr $SWAP_SIZE + $ROOT_PARTITION_SIZE)" 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