aboutsummaryrefslogtreecommitdiffstats
path: root/arch-install-UEFI.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-16 13:35:05 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-16 13:35:05 +0100
commit88b945ada92f499f20ffce3126fdcabd2cc82aab (patch)
tree831d39bf8b8d32e583efd67cbadf98fe941e18c1 /arch-install-UEFI.sh
parentAnother README update (diff)
downloadarch-installer-88b945ada92f499f20ffce3126fdcabd2cc82aab.tar.gz
arch-installer-88b945ada92f499f20ffce3126fdcabd2cc82aab.tar.bz2
arch-installer-88b945ada92f499f20ffce3126fdcabd2cc82aab.tar.xz
arch-installer-88b945ada92f499f20ffce3126fdcabd2cc82aab.tar.zst
arch-installer-88b945ada92f499f20ffce3126fdcabd2cc82aab.zip
Testing
Diffstat (limited to 'arch-install-UEFI.sh')
-rwxr-xr-xarch-install-UEFI.sh6
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