summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-21 19:22:19 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-21 19:22:19 +0100
commitb1157730870955e662154816ea3450117b45d8ee (patch)
treebea6b514daf465fdc54794349ef27c4cb15d713e
parent7ee10d1efe6a89625c1c1ab30108a8c4c19689ed (diff)
downloadarchinstall-b1157730870955e662154816ea3450117b45d8ee.tar
archinstall-b1157730870955e662154816ea3450117b45d8ee.tar.zst
archinstall-b1157730870955e662154816ea3450117b45d8ee.zip
Bugfix: Configure Initramfs and Desktop just if needed
-rw-r--r--stages/second_stage.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh
index c2c0b92..2ce2ec7 100644
--- a/stages/second_stage.sh
+++ b/stages/second_stage.sh
@@ -29,10 +29,14 @@ bash configure_timezone.sh /usr/share/zoneinfo/Europe/Berlin
bash configure_network.sh $hostname
-bash configure_initramfs.sh
+if [ $system_encryption == "yes" ]; then
+ bash configure_initramfs.sh
+fi
bash configure_users.sh $admin_username $DEFAULT_PASSWORD
bash install_bootloader.sh $efi_partition_path $system_encryption $main_partition_path
-bash configure_desktop.sh
+if [ "$desktop_wanted" = "yes" ]; then
+ bash configure_desktop.sh $desktop
+fi