aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-26 01:40:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-26 01:40:03 +0100
commita7789b8afb8930cfbd8275625f26dfee531a1cae (patch)
treebdbe35b6d52e03c452d4529809da447ec3edb264 /joes-arch-install-UEFI.sh
parentisusr to boolean (diff)
downloadarch-installer-a7789b8afb8930cfbd8275625f26dfee531a1cae.tar.gz
arch-installer-a7789b8afb8930cfbd8275625f26dfee531a1cae.tar.bz2
arch-installer-a7789b8afb8930cfbd8275625f26dfee531a1cae.tar.xz
arch-installer-a7789b8afb8930cfbd8275625f26dfee531a1cae.tar.zst
arch-installer-a7789b8afb8930cfbd8275625f26dfee531a1cae.zip
All booleans
Diffstat (limited to '')
-rwxr-xr-xjoes-arch-install-UEFI.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index e968cd3..954d426 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -13,7 +13,7 @@ usrpwd=""
usrusrpwd="fade"
hstnm=""
isusr=false
-somemore="false"
+somemore=false
intelamdcpu="none"
intelamdgpu="none"
ltskern=true
@@ -367,7 +367,7 @@ echo -e "${BCYAN}Do you wish to install ${BYELLOW}Xorg ${BCYAN}and ${BYELLOW}gst
echo -n -e "${BYELLOW}> "
read -r answr
if [[ $answr == y || $answr == Y || $answr == yes || $answr == Yes || $answr == YES ]]; then
- somemore="true"
+ somemore=true
fi
clear
answr=""
@@ -630,7 +630,7 @@ sleep 4
#================================================================#
#------------------------ EXTRA DOWNLOAD ------------------------#
#================================================================#
-if [[ $somemore == "true" ]]; then
+if [ "$somemore" = true ]; then
clear
echo -e "${BMAGENTA}\
#====== IV. INSTALLING LINUX =====#
@@ -687,7 +687,7 @@ fi
#================================================================#
#--------------------- GPU DRIVERS DOWNLOAD ---------------------#
#================================================================#
-if [[ $intelamdgpu == "intel" && $somemore == "true" ]]; then
+if [[ $intelamdgpu == "intel" && "$somemore" = true ]]; then
clear
echo -e "${BMAGENTA}\
#====== IV. INSTALLING LINUX =====#
@@ -704,7 +704,7 @@ if [[ $intelamdgpu == "intel" && $somemore == "true" ]]; then
fi
fi
sleep 2
-if [[ $intelamdgpu == "amd" && $somemore == "true" ]]; then
+if [[ $intelamdgpu == "amd" && "$somemore" = true ]]; then
sleep 2
clear
echo -e "${BMAGENTA}\