diff --git a/Amelia.sh b/Amelia.sh index e7a6f8a..16811e0 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -4028,6 +4028,7 @@ ${purple}###${nc} Chroot & Configure System ${purple}###${nc} VANILLA_CONF if [[ -f /mnt/etc/lightdm/lightdm.conf ]]; then + if [[ "${packages}" == "6" ]]; then arch-chroot /mnt <<-DEEPIN sed -i 's|^#greeter-session=example-gtk-gnome|greeter-session=lightdm-deepin-greeter|g' /etc/lightdm/lightdm.conf @@ -4082,6 +4083,7 @@ NVIDIAGRUB fi if [[ "${vgaconf}" == "y" && "${vendor}" == "Nvidia" ]]; then + if [[ "${kernelnmbr}" == "1" ]] || [[ "${kernelnmbr}" == "2" && "${family}" == "1" ]] || [[ "${kernelnmbr}" == "2" && "${family}" == "2" && ${nvdriver} == "2" ]]; then arch-chroot /mnt <<-NVIDIAHOOK echo " @@ -4260,6 +4262,7 @@ NRG OPTIMIZED_CONF if [[ "${vgaconf}" == "y" && "${vendor}" == "Nvidia" ]]; then + if [[ "${kernelnmbr}" == "1" ]] || [[ "${kernelnmbr}" == "2" && "${family}" == "1" ]] || [[ "${kernelnmbr}" == "2" && "${family}" == "2" && ${nvdriver} == "2" ]]; then arch-chroot /mnt <<-NVIDIAHOOK echo " @@ -4294,6 +4297,7 @@ NVIDIAHOOK # NOTE: Custom System Configuration (Add any extra configuration below): if [[ "${packages}" == "11" ]]; then + arch-chroot /mnt <<-CUSTOM_CONF sed -i "/^#${SETLOCALE}/s/^#//" /etc/locale.gen && locale-gen && @@ -4377,6 +4381,7 @@ NVIDIAGRUB fi if [[ "${vgaconf}" == "y" && "${vendor}" == "Nvidia" ]]; then + if [[ "${kernelnmbr}" == "1" ]] || [[ "${kernelnmbr}" == "2" && "${family}" == "1" ]] || [[ "${kernelnmbr}" == "2" && "${family}" == "2" && ${nvdriver} == "2" ]]; then arch-chroot /mnt <<-NVIDIAHOOK echo " @@ -4436,6 +4441,7 @@ NVIDIAHOOK revision="" greeternmbr="" cust_bootopts="" + bluetooth="" clear first_check