diff --git a/Amelia.sh b/Amelia.sh index 305c3c7..1bdd6e9 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -1,7 +1,7 @@ #!/bin/bash # Amelia installer for Archlinux - # Version: 1.2.1 + # Version: 1.2.2 # Source: https://gitlab.com/prism7/archery # Contact: leenooks7@gmail.com @@ -6406,7 +6406,7 @@ ${magenta}###${nc}--------------------------${magenta}[ ${bwhite}Setting Up Wire " if sed -i "/^#WIRELESS_REGDOM=\"${REGDOM}\"/s/^#//" /mnt/etc/conf.d/wireless-regdom ; then ok - line2 + echo else stage_fail fi @@ -6453,7 +6453,7 @@ btldrcfg() { if [[ "${bootloader}" == "1" ]]; then local stage_prompt="Systemd-boot Configuration" if [[ "${xbootloader}" == "no" ]]; then - if arch-chroot /mnt <<-SDBOOT_INSTL > "${void}" 2>&1 2> "${log}" ; then + if arch-chroot -S /mnt <<-SDBOOT_INSTL > "${void}" 2>&1 2> "${log}" ; then bootctl install || exit cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit timeout 3 @@ -6467,7 +6467,7 @@ SDBOOT_INSTL stage_fail fi elif [[ "${xbootloader}" == "yes" ]]; then - if arch-chroot /mnt <<-SDBOOT_XBOOTLDR_INSTL > "${void}" 2>&1 2> "${log}" ; then + if arch-chroot -S /mnt <<-SDBOOT_XBOOTLDR_INSTL > "${void}" 2>&1 2> "${log}" ; then bootctl --esp-path=/efi --boot-path=/boot install || exit cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit default arch.conf