summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-03-22 14:25:35 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-03-22 14:25:35 +0100
commit229cb9d493b474352c4928f48eaa0a2809d27f76 (patch)
tree2023c3cb84c6427bb5b0c0bc9b4691af995f556d
parentba641a34c9da01914f4d971be57226ad37878399 (diff)
downloadarchinstall-229cb9d493b474352c4928f48eaa0a2809d27f76.tar
archinstall-229cb9d493b474352c4928f48eaa0a2809d27f76.tar.zst
archinstall-229cb9d493b474352c4928f48eaa0a2809d27f76.zip
Bugfix for Setting of crypto_partition Variable
-rw-r--r--stages/second_stage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh
index abf407a..af7ff8a 100644
--- a/stages/second_stage.sh
+++ b/stages/second_stage.sh
@@ -96,9 +96,9 @@ if [ $luks_encryption == "yes" ];then
print_ok "Setup of /etc/default/grub for LUKS encryption ..."
if [ "$boot_mode" == "uefi" ]; then
- crypto_partition=${path_to_disk}3
+ crypto_partition="${path_to_disk}3"
else
- crypto_partition=${path_to_disk}2
+ crypto_partition="${path_to_disk}2"
fi
cryptdevice_uuid=$(lsblk --fs | grep "$(basename $crypto_partition)" | awk '{print $3}')