diff options
author | Sam James <sam@gentoo.org> | 2023-06-17 04:56:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-17 04:56:01 +0100 |
commit | 89cc2a869a484dbc9d244f8f0ee375ee2d8ff894 (patch) | |
tree | 1af38e0056535734336cd471cf39ff338f6e38bd /sys-power | |
parent | dev-util/patchelf: Stabilize 0.18.0 amd64, #908413 (diff) | |
download | gentoo-89cc2a869a484dbc9d244f8f0ee375ee2d8ff894.tar.gz gentoo-89cc2a869a484dbc9d244f8f0ee375ee2d8ff894.tar.bz2 gentoo-89cc2a869a484dbc9d244f8f0ee375ee2d8ff894.zip |
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@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/nut/nut-2.8.0-r1.ebuild | 2 | ||||
-rw-r--r-- | 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." |