aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-15 12:10:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-15 12:10:28 +0100
commit435f2c609200ff5f361ba4541d6f5ea6f12528cb (patch)
tree60ba36f71df83843b97e5b9fcf52fdc14d0c7b35
parentChanged my mind (diff)
downloadarch-installer-435f2c609200ff5f361ba4541d6f5ea6f12528cb.tar.gz
arch-installer-435f2c609200ff5f361ba4541d6f5ea6f12528cb.tar.bz2
arch-installer-435f2c609200ff5f361ba4541d6f5ea6f12528cb.tar.xz
arch-installer-435f2c609200ff5f361ba4541d6f5ea6f12528cb.tar.zst
arch-installer-435f2c609200ff5f361ba4541d6f5ea6f12528cb.zip
Few check issues
-rw-r--r--arch-install-UEFI.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch-install-UEFI.sh b/arch-install-UEFI.sh
index 332a19c..30d4d21 100644
--- a/arch-install-UEFI.sh
+++ b/arch-install-UEFI.sh
@@ -115,15 +115,15 @@ while [[ $answr != y && $answr != Y && $answr != yes && $answr != Yes && $answr
fi
if [[ $drvnm > $(lsblk | grep disk | wc -l) ]]; then
echo && echo
- echo "Illegal value, please choose something reasonable. Reatrying..."
+ echo "Illegal value, please choose something reasonable. Retrying..."
fi
- if [[ $drvnm < 0 ]]; then
+ if [[ $drvnm -lt 0 ]]; then
echo && echo
- echo "Illegal value, please choose something reasonable. Reatrying..."
+ echo "Illegal value, please choose something reasonable. Retrying..."
fi
if [[ $drvnm == 0 ]]; then
echo && echo
- echo "Illegal value, please choose something reasonable. Reatrying..."
+ echo "Illegal value, please choose something reasonable. Retrying..."
fi
done
drv="/dev/"$(lsblk | grep disk | awk '{print $1}' | sed -n "$drvnm"p)