diff options
Diffstat (limited to '')
-rwxr-xr-x | arch-install-UEFI.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch-install-UEFI.sh b/arch-install-UEFI.sh index 9462923..f234551 100755 --- a/arch-install-UEFI.sh +++ b/arch-install-UEFI.sh @@ -13,7 +13,6 @@ isusr="false" somemore="false" intelamdcpu="none" intelamdgpu="none" -did="" clear echo "#============ WELCOME ============#" @@ -198,7 +197,7 @@ done answr="n" -while [[ $rtrtpwd != $rtpwd || $rtpwd == "" ]]; do +while [ ! "$rtrtpwd" = "$rtpwd" ] || [ "$rtpwd" = "" ]; do clear echo "#======= II. USERS SETUP =========#" echo "# #" @@ -333,7 +332,6 @@ sleep 2 # ==================== PARTITIONING DISK ======================= # # ============================================================== # - clear echo "#====== IV. INSTALLING LINUX =====#" echo "# #" @@ -343,7 +341,7 @@ echo "# #" echo "#=================================#" echo && echo dd if=/dev/zero of=$drv bs=512 count=1 -sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' << EOF | fdisk $drv +cat << EOF | fdisk $drv g # create a new GPT partition table n # new partition (/dev/sdx1) 1 # partition number 1 |