diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-26 02:19:47 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-26 02:19:47 +0100 |
commit | bfad1cd255a76dbdcfbe05f7abc1a214ec3de100 (patch) | |
tree | b0daf5256f32c87c791c01e0e8b938bed294ebbc | |
parent | gogo again (diff) | |
download | arch-installer-bfad1cd255a76dbdcfbe05f7abc1a214ec3de100.tar.gz arch-installer-bfad1cd255a76dbdcfbe05f7abc1a214ec3de100.tar.bz2 arch-installer-bfad1cd255a76dbdcfbe05f7abc1a214ec3de100.tar.xz arch-installer-bfad1cd255a76dbdcfbe05f7abc1a214ec3de100.tar.zst arch-installer-bfad1cd255a76dbdcfbe05f7abc1a214ec3de100.zip |
of course
-rwxr-xr-x | joes-arch-install-UEFI.sh | 8 |
1 files changed, 5 insertions, 3 deletions
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" |