diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-19 11:51:10 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-19 11:51:10 +0100 |
commit | 2e659ab31e66255dec5722b5070c42ef156e8941 (patch) | |
tree | 451ce2ea66731fd1598dff1f59a23f59a584de52 | |
parent | Better drive bay table (diff) | |
download | arch-installer-2e659ab31e66255dec5722b5070c42ef156e8941.tar.gz arch-installer-2e659ab31e66255dec5722b5070c42ef156e8941.tar.bz2 arch-installer-2e659ab31e66255dec5722b5070c42ef156e8941.tar.xz arch-installer-2e659ab31e66255dec5722b5070c42ef156e8941.tar.zst arch-installer-2e659ab31e66255dec5722b5070c42ef156e8941.zip |
Better formatting in some situations
Diffstat (limited to '')
-rwxr-xr-x | joes-arch-install-UEFI.sh | 16 |
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 |