1 |
commit: fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 30 02:48:37 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 02:48:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd84518f |
7 |
|
8 |
app-laptop/hdapsd: fix trailing slashes in ROOT/EROOT. |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
12 |
|
13 |
app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 8 ++++---- |
14 |
1 file changed, 4 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild |
17 |
index 490a8b858c1..be403f7d4d3 100644 |
18 |
--- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild |
19 |
+++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild |
20 |
@@ -43,8 +43,8 @@ src_install() { |
21 |
} |
22 |
|
23 |
pkg_postinst() { |
24 |
- [[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \ |
25 |
- [[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \ |
26 |
+ [[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \ |
27 |
+ [[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \ |
28 |
ewarn "Your kernel does NOT support shock protection." |
29 |
|
30 |
readme.gentoo_print_elog |
31 |
@@ -56,9 +56,9 @@ ${PN} requires a kernel module to function properly. The recommended |
32 |
approach is to install app-laptop/tp_smapi[hdaps], but the in-tree |
33 |
module provided by CONFIG_SENSORS_HDAPS may work as well. |
34 |
|
35 |
-Common daemon parameters can be set in ${EROOT}etc/conf.d/${PN}. If the |
36 |
+Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the |
37 |
package was installed with USE=libconfig, then the parameters can also |
38 |
-be set in ${EROOT}etc/${PN}.conf, although the former will take |
39 |
+be set in ${EROOT}/etc/${PN}.conf, although the former will take |
40 |
precedence over the latter if both are used. |
41 |
|
42 |
You can change the default sampling rate by modifing |