Fix variable

pull/1/head
beech 2 years ago
parent d7f4fc77da
commit 243b452550
  1. 4
      install1-ex.sh

@ -19,7 +19,7 @@ echo "-------------------------------------------------"
echo "Specify drive name for install(ex. /dev/sda, /dev/nvme0n1). THIS WILL FORMAT & PARTITION THE SPECIFIED DRIVE!"
read -r DISK
read -r -p "Enter the disk: " DISK
echo -e "\nFormatting disk...\n$HR"
@ -48,6 +48,8 @@ sgdisk -c 4:"home" $DISK
# make filesystems
echo -e "\nCreating Filesystems...\n$HR"
parted $DISK mklabel gpt
mkfs.fat -F32 "$(DISK)1" # FAT32 boot partition
mkswap "$(DISK)2" # create SWAP
swapon "$(DISK)2" # enable SWAP