From bfad1cd255a76dbdcfbe05f7abc1a214ec3de100 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 26 Nov 2019 02:19:47 +0100 Subject: of course --- joes-arch-install-UEFI.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'joes-arch-install-UEFI.sh') diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index 61e2de2..392c52d 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -138,7 +138,7 @@ while [[ $answr != y && $answr != Y && $answr != yes && $answr != Yes && $answr elif ! [[ $drvnm =~ $numregex ]]; then echo && echo echo -e "${BRED}Illegal value, please choose something reasonable. Retrying...${END}" - elif [ "$drvnm" -gt $(lsblk | grep -c disk) ]; then + elif [ "$drvnm" -gt "$(lsblk | grep -c disk)" ]; then echo && echo echo -e "${BRED}Illegal value, please choose something reasonable. Retrying...${END}" elif [ "$drvnm" -le 0 ]; then @@ -171,8 +171,9 @@ __G" echo && echo echo -e "${BRED}Illegal value, please choose something reasonable. Retrying...${END}" gogo=false + else + gogo=true fi - gogo=true done gogo=false clear @@ -199,8 +200,9 @@ __G" echo && echo echo -e "${BRED}Illegal value, please choose something reasonable. Retrying...${END}" gogo=false + else + gogo=true fi - gogo=true done gogo=false btsze="128M" -- cgit v1.2.3