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>
This commit is contained in:
Sam James
2023-06-17 04:56:01 +01:00
parent 4c1dd69ceb
commit 89cc2a869a
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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."
+1 -2
View File
@@ -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."