From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1208532-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CAC66138359
	for <garchives@archives.gentoo.org>; Tue, 22 Sep 2020 08:51:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F0406E0857;
	Tue, 22 Sep 2020 08:51:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D0070E0857
	for <gentoo-commits@lists.gentoo.org>; Tue, 22 Sep 2020 08:51:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6D639335D8C
	for <gentoo-commits@lists.gentoo.org>; Tue, 22 Sep 2020 08:51:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E09612EC
	for <gentoo-commits@lists.gentoo.org>; Tue, 22 Sep 2020 08:51:14 +0000 (UTC)
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" <pacho@gentoo.org>
Message-ID: <1600764661.742562f7fac885f1f4a78e438def443e8f655350.pacho@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/thermald/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-power/thermald/thermald-2.3-r1.ebuild
X-VCS-Directories: sys-power/thermald/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: 742562f7fac885f1f4a78e438def443e8f655350
X-VCS-Branch: master
Date: Tue, 22 Sep 2020 08:51:14 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 49fdd2a5-8b9f-4683-967d-86c84cfc3bd3
X-Archives-Hash: 5714df7824a044b9ca61e0f90afee0bb

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
+}