From e2b849426238cd08762169b12cbb212513e02d84 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 19 Nov 2019 11:58:10 +0100 Subject: shellchecked --- joes-arch-install-UEFI.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index be4b388..8445a9d 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -218,12 +218,12 @@ __G" # DRIVE TO USE: ${BCYAN}$drv ${BMAGENTA}# # # # /boot/efi > BOOT partition size: ${BYELLOW}$btsze ${BMAGENTA}#" -if [ $swps -ge 10 ]; then +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 +if [ "$rts" -ge 100 ]; then echo -e "# / > ROOT partition size: ${BYELLOW}$rtsze ${BMAGENTA}#" else echo -e "# / > ROOT partition size: ${BYELLOW}$rtsze ${BMAGENTA}#" -- cgit v1.2.3