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."