This commit is contained in:
Your Name 2023-02-14 16:43:42 -07:00
parent 96817b958e
commit 0f5752041c

View File

@ -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