From 88b0241bc58ccb3bbae27b879b7373c53c3fa471 Mon Sep 17 00:00:00 2001 From: mfgbhatti Date: Fri, 28 Jan 2022 15:47:34 +0000 Subject: [PATCH] bug fixes --- 0-preinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index 1aeaf73..a0b3b38 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -42,11 +42,11 @@ if [[ "$LAYOUT" ]]; then mkfs.btrfs -L "ROOT" "$PART3" -f mount -t btrfs "$PART3" /mnt for x in "${SUBVOLUMES[@]}"; do - btrfs subvolume create /mnt/"$x" + btrfs subvolume create /mnt/"${x}" done umount /mnt for y in "${SUBVOLUMES[@]}"; do - mount -o "$MOUNTOPTION",subvol="$y" "$PART3" /mnt + mount -o "$MOUNTOPTION",subvol="${y}" "$PART3" /mnt done else modprobe dm-mod