From 0f5752041c38898201ea7f9b774a7094bd824794 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 14 Feb 2023 16:43:42 -0700 Subject: [PATCH] fix --- debian.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian.sh b/debian.sh index 50900c3..e3cacc5 100755 --- a/debian.sh +++ b/debian.sh @@ -353,11 +353,11 @@ locale() { partitions() { echo echo "Setting Up Partitions....." - printf "$DISK_PASSWORD" | cryptsetup open ${BTRFS} $ROOT_MAPPER + printf "$DISK_PASSWORD" | cryptsetup open ${BTRFS} $ROOT_MAPPER_NAME unmount - if [[ -f "/dev/mapper/$ROOT_MAPPER" ]]; then + if [[ -e "/dev/mapper/$ROOT_MAPPER_NAME" ]]; then echo echo "Formatting $EFI" echo @@ -368,7 +368,7 @@ partitions() { fstab else echo - echo "Aborting Install, mapper device not found!" + echo "Aborting Install, /dev/mapper/$ROOT_MAPPER_NAME not found!" echo echo exit 1