summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-12 13:50:48 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-12 13:50:48 +0100
commitf06de7db204216d4fe0d1d9a302ca78272afb1ad (patch)
tree2111b7a56f9f31096552fe6521e672b668b3a30b
parente12ac9b213ef3e8ecebc0c3052ec7e0e8bd7a31c (diff)
downloadarchinstall-f06de7db204216d4fe0d1d9a302ca78272afb1ad.tar
archinstall-f06de7db204216d4fe0d1d9a302ca78272afb1ad.tar.zst
archinstall-f06de7db204216d4fe0d1d9a302ca78272afb1ad.zip
Bugfix according to bash syntax.
-rw-r--r--stages/first_stage.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index ab99ce1..03e5252 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -47,7 +47,7 @@ export admin_username=$(python $REPOSITORY_PATH/util/read_config_string.py $CONF
export system_encryption=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "system_encryption")
-if [ $(check_bootmode.sh) == "Booted with UEFI" ];then
+if [ "$(check_bootmode.sh)" == "Booted with UEFI" ];then
echo "Booted with UEFI - OK"
@@ -68,9 +68,7 @@ bash partition_disk.sh $disk_path
if [ $system_encryption == "yes" ];then
bash format_crypto_partition.sh $main_partition_path $DEFAULT_PASSWORD
-
bash open_crypto_partition.sh $main_partition_path $DEFAULT_PASSWORD
-
export root_partition_path="/dev/mapper/main"
else