summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-09-22 10:51:01 +0200
committerPacho Ramos <pacho@gentoo.org>2020-09-22 10:51:01 +0200
commit742562f7fac885f1f4a78e438def443e8f655350 (patch)
tree9bc6e9a2f9b2f0fb7924ef552fc02a43779a999c
parentsys-power/dptfxtract: Stabilize (diff)
downloadgentoo-742562f7fac885f1f4a78e438def443e8f655350.tar.gz
gentoo-742562f7fac885f1f4a78e438def443e8f655350.tar.bz2
gentoo-742562f7fac885f1f4a78e438def443e8f655350.zip
sys-power/thermald: Suggest dptfxtract usage to generate config files
Closes: https://bugs.gentoo.org/739618 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
-rw-r--r--sys-power/thermald/thermald-2.3-r1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-power/thermald/thermald-2.3-r1.ebuild b/sys-power/thermald/thermald-2.3-r1.ebuild
index 0e305e3aa63..2465a7a7037 100644
--- a/sys-power/thermald/thermald-2.3-r1.ebuild
+++ b/sys-power/thermald/thermald-2.3-r1.ebuild
@@ -47,3 +47,10 @@ my_src_install_all() {
rm -rf "${ED}"/etc/init || die
doinitd "${FILESDIR}"/thermald
}
+
+pkg_postinst() {
+ if ! has_version sys-power/dptfxtract; then
+ elog "dptfxtract can be used to generate a more specific"
+ elog "thermald configuration for your system"
+ fi
+}