mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
6102ed9395
commit
20c5cac7c9
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue