1 |
commit: a46dcbae99370e54eb351057cade59c58a512d3e |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 8 16:52:32 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 8 16:52:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a46dcbae |
7 |
|
8 |
sys-apps/smartmontools: [QA] Fix UnnecessarySlashStrip |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 4 ++-- |
13 |
sys-apps/smartmontools/smartmontools-7.1.ebuild | 4 ++-- |
14 |
sys-apps/smartmontools/smartmontools-9999.ebuild | 4 ++-- |
15 |
3 files changed, 6 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild |
18 |
index b63f007b6df..a0786270391 100644 |
19 |
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild |
20 |
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild |
21 |
@@ -117,8 +117,8 @@ src_install() { |
22 |
|
23 |
pkg_postinst() { |
24 |
if use daemon || use update_drivedb; then |
25 |
- local initial_db_file="${EPREFIX%/}/usr/share/${PN}/drivedb.h" |
26 |
- local db_path="${EPREFIX%/}/var/db/${PN}" |
27 |
+ local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h" |
28 |
+ local db_path="${EPREFIX}/var/db/${PN}" |
29 |
|
30 |
if [[ ! -f "${db_path}/drivedb.h" ]] ; then |
31 |
# No initial database found |
32 |
|
33 |
diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild b/sys-apps/smartmontools/smartmontools-7.1.ebuild |
34 |
index 9f111458dc6..4cdbb0a0212 100644 |
35 |
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild |
36 |
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild |
37 |
@@ -117,8 +117,8 @@ src_install() { |
38 |
|
39 |
pkg_postinst() { |
40 |
if use daemon || use update_drivedb; then |
41 |
- local initial_db_file="${EPREFIX%/}/usr/share/${PN}/drivedb.h" |
42 |
- local db_path="${EPREFIX%/}/var/db/${PN}" |
43 |
+ local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h" |
44 |
+ local db_path="${EPREFIX}/var/db/${PN}" |
45 |
|
46 |
if [[ ! -f "${db_path}/drivedb.h" ]] ; then |
47 |
# No initial database found |
48 |
|
49 |
diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild |
50 |
index 9f111458dc6..4cdbb0a0212 100644 |
51 |
--- a/sys-apps/smartmontools/smartmontools-9999.ebuild |
52 |
+++ b/sys-apps/smartmontools/smartmontools-9999.ebuild |
53 |
@@ -117,8 +117,8 @@ src_install() { |
54 |
|
55 |
pkg_postinst() { |
56 |
if use daemon || use update_drivedb; then |
57 |
- local initial_db_file="${EPREFIX%/}/usr/share/${PN}/drivedb.h" |
58 |
- local db_path="${EPREFIX%/}/var/db/${PN}" |
59 |
+ local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h" |
60 |
+ local db_path="${EPREFIX}/var/db/${PN}" |
61 |
|
62 |
if [[ ! -f "${db_path}/drivedb.h" ]] ; then |
63 |
# No initial database found |