1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-09-19 15:14:43 -04:00

Update easy-arch.sh

This commit is contained in:
Tommaso Chiti 2021-01-31 14:29:33 +01:00 committed by GitHub
parent 6102ed9395
commit 20c5cac7c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ done
# Deleting old partition scheme.
read -r -p "This will delete the current partition table on $DISK. Do you agree [y/N]? " response
response=${response,,}
then
if [[ "$response" =~ ^(yes|y)$ ]]
then
wipefs -af $DISK
sgdisk -Zo $DISK
else
@ -71,4 +71,4 @@ mount -o compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
mount $ESP /mnt/boot
echo "Done."
echo "Done."