Fix: A package conflict between 'power-profiles-daemon' and 'tlp' has been adressed.

This commit is contained in:
Jane Doe
2025-08-09 19:15:53 +03:00
parent 86b08cfe91
commit 491bd3d80c
+12 -1
View File
@@ -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