aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjoes-arch-install-UEFI.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 16f23fb..eb66988 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -217,10 +217,18 @@ __G"
# #
# DRIVE TO USE: ${BCYAN}$drv ${BMAGENTA}#
# #
-# /boot/efi > BOOT partition size: ${BYELLOW}$btsze ${BMAGENTA}#
-# SWAP partition size: ${BYELLOW}$swpsze ${BMAGENTA}#
-# / > ROOT partition size: ${BYELLOW}$rtsze ${BMAGENTA}#
-# /home > HOME partition size: ${BYELLOW}all that remains ${BMAGENTA}#
+# /boot/efi > BOOT partition size: ${BYELLOW}$btsze ${BMAGENTA}#"
+if [ $swps -ge 10 ]; then
+ echo -e "# SWAP partition size: ${BYELLOW}$swpsze ${BMAGENTA}#"
+else
+ echo -e "# SWAP partition size: ${BYELLOW}$swpsze ${BMAGENTA}#"
+fi
+if [ $rts -ge 100 ]; then
+ echo -e "# / > ROOT partition size: ${BYELLOW}$rtsze ${BMAGENTA}#"
+else
+ echo -e "# / > ROOT partition size: ${BYELLOW}$rtsze ${BMAGENTA}#"
+fi
+"# /home > HOME partition size: ${BYELLOW}all that remains ${BMAGENTA}#
# #
#=====================================================#${END}"
echo && echo