diff --git a/Amelia.sh b/Amelia.sh index 1f74b10..71b914d 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -2,7 +2,7 @@ # Amelia Installer # Source: https://gitlab.com/prism7/archery -# Version: 9.2.0 +# Version: 9.2.1 set -euo pipefail ################################################################################################### @@ -6752,6 +6752,17 @@ RTKIT fi if [[ "${tlp}" == "y" ]]; then + local stage_prompt="Power-profiles-daemon Removal" + if [[ -e usr/lib/power-profiles-daemon ]]; then + if arch-chroot /mnt <<-PPD > /dev/null 2>&1 2> amelia_log.txt ; then + pacman -Rns --noconfirm power-profiles-daemon || exit +PPD + stage_ok + else + stage_fail + fi + fi + local stage_prompt="Tlp Service Activation" if arch-chroot /mnt <<-TLP > /dev/null 2>&1 2> amelia_log.txt ; then pacman -S --noconfirm tlp || exit