commit: 742562f7fac885f1f4a78e438def443e8f655350 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Tue Sep 22 08:51:01 2020 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Tue Sep 22 08:51:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=742562f7
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 <AT> gentoo.org> sys-power/thermald/thermald-2.3-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 +}