From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1498543-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4298E15A7D9
	for <garchives@archives.gentoo.org>; Sun, 19 Mar 2023 16:56:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 20440E0896;
	Sun, 19 Mar 2023 16:56:47 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 02D09E0896
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2023 16:56:46 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DD9243412EF
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2023 16:56:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F6DC8E5
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Mar 2023 16:56:44 +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: <1679244992.0c7788a137d045c3628cf330e6cef9fd4f3808d8.pacho@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/power-profiles-daemon/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
X-VCS-Directories: sys-power/power-profiles-daemon/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: 0c7788a137d045c3628cf330e6cef9fd4f3808d8
X-VCS-Branch: master
Date: Sun, 19 Mar 2023 16:56:44 +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: a8b1b2c7-6899-47ff-a76b-4179e12fd95f
X-Archives-Hash: ffe42d8e819ece879924234f0d6fa206

commit:     0c7788a137d045c3628cf330e6cef9fd4f3808d8
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 16:36:56 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 16:56:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7788a1

sys-power/power-profiles-daemon: Add elog info for openRC users

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild b/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
index 36656c234b6d..84451d51dd70 100644
--- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
+++ b/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
@@ -59,7 +59,6 @@ src_configure() {
 src_install() {
 	meson_src_install
 	python_fix_shebang "${D}"/usr/bin/powerprofilesctl
-
 	newinitd "${FILESDIR}/power-profiles-daemon.initd" power-profiles-daemon
 }
 
@@ -68,6 +67,8 @@ pkg_postinst() {
 		if systemd_is_booted; then
 			elog "You need to enable the service:"
 			elog "# systemctl enable ${PN}"
+		else
+			elog "# rc-update add ${PN} default"
 		fi
 	fi
 }