diff options
| -rwxr-xr-x | 0-preinstall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/0-preinstall.sh b/0-preinstall.sh index b879d0d..af3fc83 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -66,7 +66,7 @@ sgdisk -c 2:"ROOT" ${DISK} # make filesystems echo -e "\nCreating Filesystems...\n$HR" -if [[ "${DISK}" == "nvme"* ]]; then +if [[ ${DISK} =~ "nvme" ]]; then mkfs.vfat -F32 -n "UEFISYS" "${DISK}p1" mkfs.btrfs -L "ROOT" "${DISK}p2" mount -t btrfs "${DISK}p2" /mnt |
