mirror of
https://gitlab.com/prism7/archery.git
synced 2025-02-15 08:29:17 +01:00
Indentation
This commit is contained in:
parent
c956eb6c9a
commit
6f5d00893c
1 changed files with 19 additions and 22 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue