Indentation

This commit is contained in:
Jane Doe 2025-01-04 22:02:29 +00:00
parent c956eb6c9a
commit 6f5d00893c

View file

@ -2,7 +2,7 @@
# Amelia Installer # Amelia Installer
# https://gitlab.com/prism7/archery # https://gitlab.com/prism7/archery
# Version: 8.3.2 # Version: 8.3.3
set -euo pipefail set -euo pipefail
################################################################################################### ###################################################################################################
@ -1019,7 +1019,7 @@ Enter a number: "
################################################################################################### ###################################################################################################
ask_bootldr() { ask_bootldr() {
local prompt="Bootloader" local prompt="Bootloader Selection"
sleep 0.2 sleep 0.2
NC " NC "
@ -1070,8 +1070,6 @@ Enter a number: "
invalid invalid
return 1 ;; return 1 ;;
esac esac
local prompt="Bootloader Selection"
ok ok
} }
################################################################################################### ###################################################################################################
@ -2069,11 +2067,11 @@ Enter any additional packages ${bwhite}(space-seperated)${blue}: "
reload reload
return 1 return 1
elif [[ "${custompkgs}" =~ "lightdm" ]]; then elif [[ "${custompkgs}" =~ "lightdm" ]]; then
echo
sleep 0.2 sleep 0.2
NC " NC "
${magenta}###${nc}--------------------------------${magenta}[ ${bwhite}LightDM Greeter Selection${nc} ${magenta}]${nc}--------------------------------${magenta}### ${magenta}###${nc}--------------------------------${magenta}[ ${bwhite}LightDM Greeter Selection${nc} ${magenta}]${nc}--------------------------------${magenta}###
" "
YELLOW " YELLOW "
@ -5738,7 +5736,6 @@ UKI
if [[ -e /mnt/boot/initramfs-"${kernel}"-fallback.img ]]; then if [[ -e /mnt/boot/initramfs-"${kernel}"-fallback.img ]]; then
rm /mnt/boot/initramfs-"${kernel}"-fallback.img || exit rm /mnt/boot/initramfs-"${kernel}"-fallback.img || exit
fi fi
elif [[ "${uki}" == "n" ]]; then elif [[ "${uki}" == "n" ]]; then
if arch-chroot /mnt <<-NOUKI > /dev/null 2>&1 2> amelia_log.txt ; then if arch-chroot /mnt <<-NOUKI > /dev/null 2>&1 2> amelia_log.txt ; then
cp /etc/mkinitcpio.d/${kernel}.preset /etc/mkinitcpio.d/${kernel}.preset.bak || exit cp /etc/mkinitcpio.d/${kernel}.preset /etc/mkinitcpio.d/${kernel}.preset.bak || exit