From fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 29 Mar 2021 22:48:37 -0400 Subject: [PATCH] app-laptop/hdapsd: fix trailing slashes in ROOT/EROOT. Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky --- app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild index 490a8b858c146..be403f7d4d34b 100644 --- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild +++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild @@ -43,8 +43,8 @@ src_install() { } pkg_postinst() { - [[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \ - [[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \ + [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \ + [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \ ewarn "Your kernel does NOT support shock protection." readme.gentoo_print_elog @@ -56,9 +56,9 @@ ${PN} requires a kernel module to function properly. The recommended approach is to install app-laptop/tp_smapi[hdaps], but the in-tree module provided by CONFIG_SENSORS_HDAPS may work as well. -Common daemon parameters can be set in ${EROOT}etc/conf.d/${PN}. If the +Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the package was installed with USE=libconfig, then the parameters can also -be set in ${EROOT}etc/${PN}.conf, although the former will take +be set in ${EROOT}/etc/${PN}.conf, although the former will take precedence over the latter if both are used. You can change the default sampling rate by modifing