diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2021-03-29 22:48:37 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2021-03-29 22:48:37 -0400 |
commit | fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5 (patch) | |
tree | 9d14fdfb68051118c8d018b0ee77980e9777ca77 /app-laptop | |
parent | net-dns/updatedd: new revision to fix OVH support. (diff) | |
download | gentoo-fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5.tar.gz gentoo-fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5.tar.bz2 gentoo-fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5.zip |
app-laptop/hdapsd: fix trailing slashes in ROOT/EROOT.
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild index 490a8b858c14..be403f7d4d34 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 |