From 89cc2a869a484dbc9d244f8f0ee375ee2d8ff894 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 17 Jun 2023 04:56:01 +0100 Subject: [PATCH] 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 --- 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 c08bb5d648d0b..653fa007ed628 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 0b2f92a75a290..1a18e915356eb 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."