From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1529389-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 81D53158008
	for <garchives@archives.gentoo.org>; Sat, 17 Jun 2023 03:56:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C0B3FE08AC;
	Sat, 17 Jun 2023 03:56:37 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ACCA3E08AC
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Jun 2023 03:56:37 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F3354335D98
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Jun 2023 03:56:36 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 75C99A80
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Jun 2023 03:56:35 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1686974161.89cc2a869a484dbc9d244f8f0ee375ee2d8ff894.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/nut/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-power/nut/nut-2.8.0-r1.ebuild sys-power/nut/nut-9999.ebuild
X-VCS-Directories: sys-power/nut/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 89cc2a869a484dbc9d244f8f0ee375ee2d8ff894
X-VCS-Branch: master
Date: Sat, 17 Jun 2023 03:56:35 +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: 20976dc1-a036-421d-88ab-b3406c29dc1f
X-Archives-Hash: df097eb39993bf331b2904e5ed8ac045

commit:     89cc2a869a484dbc9d244f8f0ee375ee2d8ff894
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 17 03:56:01 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 03:56:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89cc2a86

sys-power/nut: fix typo + error

- Fix whitespace typo
- Oops, the elog is in src_install, not pkg_postinst, so EPREFIX.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/nut/nut-2.8.0-r1.ebuild | 2 +-
 sys-power/nut/nut-9999.ebuild     | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-power/nut/nut-2.8.0-r1.ebuild b/sys-power/nut/nut-2.8.0-r1.ebuild
index c08bb5d648d0..653fa007ed62 100644
--- a/sys-power/nut/nut-2.8.0-r1.ebuild
+++ b/sys-power/nut/nut-2.8.0-r1.ebuild
@@ -143,7 +143,7 @@ src_install() {
 	use split-usr && dosym ../usr/sbin/upsdrvctl /sbin/upsdrvctl
 
 	if use cgi; then
-		elog "CGI monitoring scripts are installed in ${EROOT}/usr/share/nut/cgi."
+		elog "CGI monitoring scripts are installed in ${EPREFIX}/usr/share/nut/cgi."
 		elog "copy them to your web server's ScriptPath to activate (this is a"
 		elog "change from the old location)."
 		elog "If you use lighttpd, see lighttpd_nut.conf in the documentation."

diff --git a/sys-power/nut/nut-9999.ebuild b/sys-power/nut/nut-9999.ebuild
index 0b2f92a75a29..1a18e915356e 100644
--- a/sys-power/nut/nut-9999.ebuild
+++ b/sys-power/nut/nut-9999.ebuild
@@ -20,7 +20,6 @@ else
 	KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
-
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
@@ -173,7 +172,7 @@ src_install() {
 	use split-usr && dosym ../usr/sbin/upsdrvctl /sbin/upsdrvctl
 
 	if use cgi; then
-		elog "CGI monitoring scripts are installed in ${EROOT}/usr/share/nut/cgi."
+		elog "CGI monitoring scripts are installed in ${EPREFIX}/usr/share/nut/cgi."
 		elog "copy them to your web server's ScriptPath to activate (this is a"
 		elog "change from the old location)."
 		elog "If you use lighttpd, see lighttpd_nut.conf in the documentation."