mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-09 20:21:34 -05:00
Update easy-arch.sh
This commit is contained in:
parent
6102ed9395
commit
20c5cac7c9
@ -12,8 +12,8 @@ done
|
|||||||
# Deleting old partition scheme.
|
# Deleting old partition scheme.
|
||||||
read -r -p "This will delete the current partition table on $DISK. Do you agree [y/N]? " response
|
read -r -p "This will delete the current partition table on $DISK. Do you agree [y/N]? " response
|
||||||
response=${response,,}
|
response=${response,,}
|
||||||
then
|
|
||||||
if [[ "$response" =~ ^(yes|y)$ ]]
|
if [[ "$response" =~ ^(yes|y)$ ]]
|
||||||
|
then
|
||||||
wipefs -af $DISK
|
wipefs -af $DISK
|
||||||
sgdisk -Zo $DISK
|
sgdisk -Zo $DISK
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user